diff options
author | Wang Yufen <wangyufen@huawei.com> | 2022-09-23 10:02:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-05 11:38:42 +0300 |
commit | 83db457b41a821b39e0e7988341a9341b5848f08 (patch) | |
tree | b7747a52b6ab916233c1f994b6f620ba7d06f11c /tools/firmware | |
parent | 84cab3531ff77583ef7e76cff025e76e2a748f3f (diff) | |
download | linux-83db457b41a821b39e0e7988341a9341b5848f08.tar.xz |
selftests: Fix the if conditions of in test_extra_filter()
[ Upstream commit bc7a319844891746135dc1f34ab9df78d636a3ac ]
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 <wangyufen@huawei.com>
Link: https://lore.kernel.org/r/1663916557-10730-1-git-send-email-wangyufen@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/firmware')
0 files changed, 0 insertions, 0 deletions