aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorWang Yufen <[email protected]>2022-09-23 15:02:37 +0800
committerPaolo Abeni <[email protected]>2022-09-27 11:00:02 +0200
commitbc7a319844891746135dc1f34ab9df78d636a3ac (patch)
tree83d238648eb98980f1104e9b8f3f81c78e74a708 /tools/perf/scripts/python/net_dropmonitor.py
parentea64cdfad124922c931633e39287c5a31a9b14a1 (diff)
selftests: Fix the if conditions of in test_extra_filter()
The socket 2 bind the addr in use, bind should fail with EADDRINUSE. So if bind success or errno != EADDRINUSE, testcase should be failed. Fixes: 3ca8e4029969 ("soreuseport: BPF selection functional test") Signed-off-by: Wang Yufen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions