aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorMike Manning <[email protected]>2019-05-20 18:57:17 +0000
committerDavid S. Miller <[email protected]>2019-05-21 20:12:39 +0000
commit72f7cfab6f93a8ea825fab8ccfb016d064269f7f (patch)
treedcbd4bedc6d143fa16e92d4fec8b3121c9bcc57c /lib/test_stackinit.c
parentnet: phylink: ensure inband AN works correctly (diff)
downloadkernel-72f7cfab6f93a8ea825fab8ccfb016d064269f7f.tar.gz
kernel-72f7cfab6f93a8ea825fab8ccfb016d064269f7f.zip
ipv6: Consider sk_bound_dev_if when binding a raw socket to an address
IPv6 does not consider if the socket is bound to a device when binding to an address. The result is that a socket can be bound to eth0 and then bound to the address of eth1. If the device is a VRF, the result is that a socket can only be bound to an address in the default VRF. Resolve by considering the device if sk_bound_dev_if is set. Signed-off-by: Mike Manning <[email protected]> Reviewed-by: David Ahern <[email protected]> Tested-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions