]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit7a009a70ff8adcba3b31dc8922a3671e5a8e1361
tree743cf86b3c6716b00d1edd53559b1faf64b0cb0c
parent9061f24bf82ec2e92dd1e7c10b98b680db023d31
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