diff options
| author | Kirill Tkhai <tkhai@ya.ru> | 2023-01-14 12:35:02 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-01-16 11:21:11 +0000 |
| commit | b27401a30ee466c4476b035487be0580767ba1fb (patch) | |
| tree | d2e97d34aecaddbddb5fe2cc4c5f7449c09a07db /tools/perf/scripts/python | |
| parent | Merge branch 'virtio-net-xdp-multi-buffer' (diff) | |
| download | linux-b27401a30ee466c4476b035487be0580767ba1fb.tar.gz linux-b27401a30ee466c4476b035487be0580767ba1fb.zip | |
unix: Improve locking scheme in unix_show_fdinfo()
After switching to TCP_ESTABLISHED or TCP_LISTEN sk_state, alive SOCK_STREAM
and SOCK_SEQPACKET sockets can't change it anymore (since commit 3ff8bff704f4
"unix: Fix race in SOCK_SEQPACKET's unix_dgram_sendmsg()").
Thus, we do not need to take lock here.
Signed-off-by: Kirill Tkhai <tkhai@ya.ru>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
