mptcp: support IPV6_V6ONLY setsockopt
authorFlorian Westphal <fw@strlen.de>
Sat, 4 Jul 2020 23:30:17 +0000 (01:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jul 2020 00:56:22 +0000 (17:56 -0700)
commitc9b95a13598750e2840d99322f844ec0ff9e6246
treea301f522c1a2dbe95775508b036e31dad3e26e76
parentfd1452d8ef988d228f5265147fde1017084404e4
mptcp: support IPV6_V6ONLY setsockopt

Without this, Opensshd fails to open an ipv6 socket listening
socket:
  error: setsockopt IPV6_V6ONLY: Operation not supported
  error: Bind to port 22 on :: failed: Address already in use.

Opensshd opens an ipv4 and and ipv6 listening socket, but because
IPV6_V6ONLY setsockopt fails, the port number is already in use.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c