]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftest: tcp: Add bind() tests for IPV6_V6ONLY.
authorKuniyuki Iwashima <kuniyu@amazon.com>
Tue, 26 Mar 2024 20:42:50 +0000 (13:42 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 29 Mar 2024 21:48:39 +0000 (14:48 -0700)
commitd37f2f72c91f2c5b61db7e6685c8b4bfdff85cb8
tree7141dc0c96152a15828434d3dc5582a9c711de2c
parentf40742c22a6e9ffb53bf02f22ea5eda55fbcfcc5
selftest: tcp: Add bind() tests for IPV6_V6ONLY.

bhash2 was not well tested for IPv6-only sockets.

This patch adds test cases where we set IPV6_V6ONLY for per-fixture
bind() calls if variant->ipv6_only[i] is true.

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