Re: [PATCH net-next 3/9] neighbour: Use nlmsg_payload in neigh_valid_get_req
From: Kuniyuki Iwashima
Date: Fri Apr 11 2025 - 17:22:28 EST
From: Breno Leitao <leitao@xxxxxxxxxx>
Date: Fri, 11 Apr 2025 10:00:50 -0700
> Update neigh_valid_get_req 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>