aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-04-11 13:33:40 +0000
committerJakub Kicinski <[email protected]>2024-04-12 19:09:31 -0700
commit32affa5578f0e6b9abef3623d3976395afbd265c (patch)
tree1a6541f6f2ecefd1eb7a852c02f75d077325a049 /rust/helpers.c
parent195b7fc53c6f45feb0f649c7c68af70900928253 (diff)
fib: rules: no longer hold RTNL in fib_nl_dumprule()
- fib rules are already RCU protected, RTNL is not needed to get them. - Fix return value at the end of a dump, so that NLMSG_DONE can be appended to current skb, saving one recvmsg() system call. Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: David Ahern <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions