]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Consider sk_bound_dev_if when binding a socket to a v4 mapped address
authorDavid Ahern <dsahern@gmail.com>
Sat, 5 Jan 2019 00:58:15 +0000 (16:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Jan 2019 01:18:58 +0000 (17:18 -0800)
commitd5d01367e61085eceabb627fbce6a69088e81f0d
treed0dd9fdcda98b593123ddc60dc72855835adfc4b
parent0cc878125d93c42c48fa0657f8f22f5f5ed8fe70
ipv6: Consider sk_bound_dev_if when binding a socket to a v4 mapped address

Similar to e2fcb5e71303 ("ipv6: Consider sk_bound_dev_if when binding a
socket to an address"), binding a socket to v4 mapped addresses needs to
consider if the socket is bound to a device.

This problem also exists from the beginning of git history.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/af_inet6.c