diff options
author | Eric Dumazet <edumazet@google.com> | 2024-02-22 13:50:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-26 14:46:13 +0300 |
commit | 4ce5dc9316de50e0da84beafe55d1344f829cece (patch) | |
tree | 1814f7e005c025df154aa3c56d79436ed0106c78 /net/ipv4/udp_impl.h | |
parent | 0ac3fa0c3b365f97c3969f391edf7b44d3bb210d (diff) | |
download | linux-4ce5dc9316de50e0da84beafe55d1344f829cece.tar.xz |
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/ipv4/udp_impl.h')
0 files changed, 0 insertions, 0 deletions