diff options
| author | Eric Dumazet <[email protected]> | 2024-04-16 14:07:39 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-17 18:30:28 -0700 |
| commit | 1514b06aff1681a418089060f0ebe936c27481bc (patch) | |
| tree | 5956a0d8af59e101b83d467a28cc096d1c8670bd /tools/perf/scripts/python/futex-contention.py | |
| parent | 860a9bed265146b10311bcadbbcef59c3af4454d (diff) | |
netns: no longer hold RTNL in rtnl_net_dumpid()
- rtnl_net_dumpid() is already fully RCU protected,
RTNL is not needed there.
- 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: Guillaume Nault <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions