]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: setsockopt: handle SOL_SOCKET in one place only
authorFlorian Westphal <fw@strlen.de>
Thu, 3 Jun 2021 23:24:30 +0000 (16:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Jun 2021 21:08:09 +0000 (14:08 -0700)
commitfc0de10199c5cf5f1ba87e6117c6413b481f10e2
tree743cf86b3c6716b00d1edd53559b1faf64b0cb0c
parent8d17f3ce743cf17fdff1dd69c6a08d57851f3aca
mptcp: setsockopt: handle SOL_SOCKET in one place only

Move the pre-check to the function that handles all SOL_SOCKET values.

At this point there is complete coverage for all values that were
accepted by the pre-check.

BUSYPOLL functions are accepted but will not have any functionality
yet until its clear how the expected mptcp behaviour should look like.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/sockopt.c