Re: [PATCH net-next 2/9] neighbour: Use nlmsg_payload in neightbl_valid_dump_info
From: Kuniyuki Iwashima
Date: Fri Apr 11 2025 - 17:20:28 EST
From: Breno Leitao <leitao@xxxxxxxxxx>
Date: Fri, 11 Apr 2025 10:00:49 -0700
> Update neightbl_valid_dump_info function to utilize the new
> nlmsg_payload() helper function.
>
> This change improves code clarity and safety by ensuring that the
> Netlink message payload is properly validated before accessing its data.
>
> Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>
Reviewed-by: Kuniyuki Iwashima <kuniyu@xxxxxxxxxx>