diff options
author | 2024-02-22 10:50:19 +0000 | |
---|---|---|
committer | 2024-02-26 11:46:13 +0000 | |
commit | 4ce5dc9316de50e0da84beafe55d1344f829cece (patch) | |
tree | 1814f7e005c025df154aa3c56d79436ed0106c78 /net/core/rtnetlink.c | |
parent | nexthop: allow nexthop_mpath_fill_node() to be called without RTNL (diff) | |
download | linux-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 '')
0 files changed, 0 insertions, 0 deletions