diff options
author | Leonard Crestez <[email protected]> | 2021-10-15 10:26:07 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-10-15 14:36:57 +0100 |
commit | 64e4017778bea04a50ed564615339801e02d2d32 (patch) | |
tree | c22c5f7d36e6bc3e56d7e3cd045d8fe044d23b22 /lib/test_overflow.c | |
parent | 78a9cf6143e2d4fb4dd48dde529b24cd5b6bf0e0 (diff) |
selftests: net/fcnal: Test --{force,no}-bind-key-ifindex
Test that applications binding listening sockets to VRFs without
specifying TCP_MD5SIG_FLAG_IFINDEX will work as expected. This would
be broken if __tcp_md5_do_lookup always made a strict comparison on
l3index. See this email:
https://lore.kernel.org/netdev/[email protected]/
Applications using tcp_l3mdev_accept=1 and a single global socket (not
bound to any interface) also should have a way to specify keys that are
only for the default VRF, this is done by --force-bind-key-ifindex
without otherwise binding to a device.
Signed-off-by: Leonard Crestez <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions