Skip to content
Snippets Groups Projects
Commit 83db457b authored by Wang Yufen's avatar Wang Yufen Committed by Greg Kroah-Hartman
Browse files

selftests: Fix the if conditions of in test_extra_filter()


[ Upstream commit bc7a3198 ]

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: 3ca8e402 ("soreuseport: BPF selection functional test")
Signed-off-by: default avatarWang Yufen <wangyufen@huawei.com>
Link: https://lore.kernel.org/r/1663916557-10730-1-git-send-email-wangyufen@huawei.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 84cab353
No related branches found
No related tags found
1 merge request!44Update v5.10-ktn to upstream release 5.10.149
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment