diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2018-09-22 02:46:42 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-09-22 02:46:43 +0200 |
commit | fad0c40fab14523ca381a30fef88b7c3266bef1c (patch) | |
tree | 190592cc86e20253f0c3220c2bcaeb24e2dd4d5e /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 080220b687147fd9376878534aba7194f17f6ef5 (diff) | |
parent | 5028027844cfc6168e39650abecd817ba64c9d98 (diff) |
Merge branch 'bpf-sockmap-estab-fixes'
John Fastabend says:
====================
Eric noted that using the close callback is not sufficient
to catch all transitions from ESTABLISHED state to a LISTEN
state. So this series does two things. First, only allow
adding socks in ESTABLISH state and second use unhash callback
to catch tcp_disconnect() transitions.
v2: added check for ESTABLISH state in hash update sockmap as well
v3: Do not release lock from unhash in error path, no lock was
used in the first place. And drop not so useful code comments
v4: convert,
if (unhash()) return unhash(); return
to if (unhash()) unhash(); return;
Thanks for reviewing Yonghong I carried your ACKs forward.
====================
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions