aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/rtnetlink.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-02-22 10:50:19 +0000
committerDavid S. Miller <davem@davemloft.net>2024-02-26 11:46:13 +0000
commit4ce5dc9316de50e0da84beafe55d1344f829cece (patch)
tree1814f7e005c025df154aa3c56d79436ed0106c78 /net/core/rtnetlink.c
parentnexthop: allow nexthop_mpath_fill_node() to be called without RTNL (diff)
downloadlinux-rng-4ce5dc9316de50e0da84beafe55d1344f829cece.tar.xz
linux-rng-4ce5dc9316de50e0da84beafe55d1344f829cece.zip
inet: switch inet_dump_fib() to RCU protection
No longer hold RTNL while calling inet_dump_fib(). Also change return value for a completed dump: Returning 0 instead of skb->len allows NLMSG_DONE to be appended to the skb. User space does not have to call us again to get a standalone NLMSG_DONE marker. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/rtnetlink.c')
0 files changed, 0 insertions, 0 deletions