aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/nsim.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-05-07 12:17:48 +0000
committerJakub Kicinski <[email protected]>2024-05-09 01:54:50 +0000
commit58a4ff5d77b187086eb12d41d613749420947f19 (patch)
tree4e20f193b23b17bdaccc9b940c77f4214b59c56b /tools/testing/selftests/net/lib/py/nsim.py
parentnet: annotate data-races around dev->if_port (diff)
downloadkernel-58a4ff5d77b187086eb12d41d613749420947f19.tar.gz
kernel-58a4ff5d77b187086eb12d41d613749420947f19.zip
phonet: no longer hold RTNL in route_dumpit()
route_dumpit() already relies on RCU, RTNL is not needed. Also change return value at the end of a dump. This allows NLMSG_DONE to be appended to the current skb at the end of a dump, saving a couple of recvmsg() system calls. Signed-off-by: Eric Dumazet <[email protected]> Cc: Remi Denis-Courmont <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/nsim.py')
0 files changed, 0 insertions, 0 deletions