net: use mptcp setsockopt function for SOL_SOCKET on mptcp sockets
authorFlorian Westphal <fw@strlen.de>
Sat, 4 Jul 2020 23:30:15 +0000 (01:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jul 2020 00:56:22 +0000 (17:56 -0700)
commit83f0c10bc36f956102ce4a33c5fe596ae9891297
tree748a717768cd39a766c5988cb13f19c7a0dab440
parentf551e2fdaf81b7b561bb5dc590da13f21c4c1295
net: use mptcp setsockopt function for SOL_SOCKET on mptcp sockets

setsockopt(mptcp_fd, SOL_SOCKET, ...)...  appears to work (returns 0),
but it has no effect -- this is because the MPTCP layer never has a
chance to copy the settings to the subflow socket.

Skip the generic handling for the mptcp case and instead call the
mptcp specific handler instead for SOL_SOCKET too.

Next patch adds more specific handling for SOL_SOCKET to mptcp.

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