https://github.com/torvalds/linux
Revision 64e4017778bea04a50ed564615339801e02d2d32 authored by Leonard Crestez on 15 October 2021, 07:26:07 UTC, committed by David S. Miller on 15 October 2021, 13:36:57 UTC
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/209548b5-27d2-2059-f2e9-2148f5a0291b@gmail.com/

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 <cdleonard@gmail.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 78a9cf6
History
Tip revision: 64e4017778bea04a50ed564615339801e02d2d32 authored by Leonard Crestez on 15 October 2021, 07:26:07 UTC
selftests: net/fcnal: Test --{force,no}-bind-key-ifindex
Tip revision: 64e4017
File Mode Size
Kconfig -rw-r--r-- 2.9 KB
Makefile -rw-r--r-- 580 bytes
core-card.c -rw-r--r-- 18.9 KB
core-cdev.c -rw-r--r-- 45.2 KB
core-device.c -rw-r--r-- 33.4 KB
core-iso.c -rw-r--r-- 9.6 KB
core-topology.c -rw-r--r-- 14.2 KB
core-transaction.c -rw-r--r-- 35.2 KB
core.h -rw-r--r-- 7.3 KB
init_ohci1394_dma.c -rw-r--r-- 9.0 KB
net.c -rw-r--r-- 41.7 KB
nosy-user.h -rw-r--r-- 629 bytes
nosy.c -rw-r--r-- 17.1 KB
nosy.h -rw-r--r-- 9.8 KB
ohci.c -rw-r--r-- 105.0 KB
ohci.h -rw-r--r-- 7.0 KB
sbp2.c -rw-r--r-- 45.9 KB

back to top