diff options
author | 2024-05-07 12:17:48 +0000 | |
---|---|---|
committer | 2024-05-08 18:54:50 -0700 | |
commit | 58a4ff5d77b187086eb12d41d613749420947f19 (patch) | |
tree | 4e20f193b23b17bdaccc9b940c77f4214b59c56b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: annotate data-races around dev->if_port (diff) | |
download | wireguard-linux-58a4ff5d77b187086eb12d41d613749420947f19.tar.xz wireguard-linux-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 <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/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions