selftest: tcp: Add v4-v4 and v6-v6 bind() conflict tests.
authorKuniyuki Iwashima <kuniyu@amazon.com>
Tue, 26 Mar 2024 20:42:48 +0000 (13:42 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 29 Mar 2024 21:48:39 +0000 (14:48 -0700)
commit5e9e9afdb50449f35d3e65dd6b1cdf87e8ce185e
treeabc9f20660ba72d5a3ed94276a7d3676f76eba3b
parent6f9bc755c0215501c45897aa5c8b8b56fb65724e
selftest: tcp: Add v4-v4 and v6-v6 bind() conflict tests.

We don't have bind() conflict tests for the same protocol pairs.

Let's add them except for the same address pair, which will be
covered by the following patch adding 6 more bind() calls for
each test case.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://lore.kernel.org/r/20240326204251.51301-6-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/bind_wildcard.c