summaryrefslogtreecommitdiff
path: root/net/ipv6/rpl.c
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2025-04-02 14:17:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-10 14:33:41 +0200
commitb9039d61f810534bf3d8a7c252cd3768a07889ce (patch)
treeec96ee3e7ad97cb62dcb60dbb874bc9d13c25e51 /net/ipv6/rpl.c
parenta263d31c8c92e5919d41af57d9479cfb66323782 (diff)
downloadlinux-b9039d61f810534bf3d8a7c252cd3768a07889ce.tar.gz
linux-b9039d61f810534bf3d8a7c252cd3768a07889ce.tar.bz2
linux-b9039d61f810534bf3d8a7c252cd3768a07889ce.zip
ipv6: fix omitted netlink attributes when using RTEXT_FILTER_SKIP_STATS
[ Upstream commit 7ac6ea4a3e0898db76aecccd68fb2c403eb7d24e ] Using RTEXT_FILTER_SKIP_STATS is incorrectly skipping non-stats IPv6 netlink attributes on link dump. This causes issues on userspace tools, e.g iproute2 is not rendering address generation mode as it should due to missing netlink attribute. Move the filling of IFLA_INET6_STATS and IFLA_INET6_ICMP6STATS to a helper function guarded by a flag check to avoid hitting the same situation in the future. Fixes: d5566fd72ec1 ("rtnetlink: RTEXT_FILTER_SKIP_STATS support to avoid dumping inet/inet6 stats") Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250402121751.3108-1-ffmancera@riseup.net Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ipv6/rpl.c')
0 files changed, 0 insertions, 0 deletions