aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorStefano Stabellini <[email protected]>2018-12-21 23:06:33 +0000
committerBoris Ostrovsky <[email protected]>2019-01-02 16:00:38 +0000
commite6587cdbd732eacb4c7ce592ed46f7bbcefb655f (patch)
tree936d4b9222a32d2ee49c6f183124b1bffb6bcdae /tools/perf/scripts/python/net_dropmonitor.py
parentpvcalls-front: don't return error when the ring is full (diff)
downloadkernel-e6587cdbd732eacb4c7ce592ed46f7bbcefb655f.tar.gz
kernel-e6587cdbd732eacb4c7ce592ed46f7bbcefb655f.zip
pvcalls-back: set -ENOTCONN in pvcalls_conn_back_read
When a connection is closing we receive on pvcalls_sk_state_change notification. Instead of setting the connection as closed immediately (-ENOTCONN), let's read one more time from it: pvcalls_conn_back_read will set the connection as closed when necessary. That way, we avoid races between pvcalls_sk_state_change and pvcalls_back_ioworker. Signed-off-by: Stefano Stabellini <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions