]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ipv6: Use nlmsg_payload in inet6_valid_dump_ifaddr_req
authorBreno Leitao <leitao@debian.org>
Mon, 14 Apr 2025 13:24:12 +0000 (06:24 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 15 Apr 2025 15:28:54 +0000 (08:28 -0700)
commite87187dfbb9f7f599da33603984a18adb07f0174
tree29ae29ad4bfb5a3d6bfc620a5d361975c771d030
parent72be72bea9dc8641c9f39c0335b71b9fbea0fae5
ipv6: Use nlmsg_payload in inet6_valid_dump_ifaddr_req

Leverage the new nlmsg_payload() helper to avoid checking for message
size and then reading the nlmsg data.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250414-nlmsg-v2-6-3d90cb42c6af@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/addrconf.c