aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/nsim.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-05-07 12:17:48 +0000
committerJakub Kicinski <kuba@kernel.org>2024-05-08 18:54:50 -0700
commit58a4ff5d77b187086eb12d41d613749420947f19 (patch)
tree4e20f193b23b17bdaccc9b940c77f4214b59c56b /tools/testing/selftests/net/lib/py/nsim.py
parent8d8b1a422c4644891e1f8a3ea10b544b65cd0cc6 (diff)
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 <edumazet@google.com> Cc: Remi Denis-Courmont <courmisch@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/20240507121748.416287-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/nsim.py')
0 files changed, 0 insertions, 0 deletions