ipv6: Use nlmsg_payload in addrconf file
authorBreno Leitao <leitao@debian.org>
Tue, 15 Apr 2025 19:28:53 +0000 (12:28 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Apr 2025 01:33:02 +0000 (18:33 -0700)
commit6c454270a8511280ba5981e57e3bcb3c1408ebfa
treea73101a8879fa049268b17939db87a337607265b
parent5ef4097ed155b3eb3aa7ec2c6035c6800b0e849d
ipv6: Use nlmsg_payload in addrconf file

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/20250415-nlmsg_v2-v1-2-a1c75d493fd7@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/addrconf.c