diff options
author | Mat Martineau <mathew.j.martineau@linux.intel.com> | 2020-02-14 14:14:29 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-16 19:20:18 -0800 |
commit | b6e4a1aeeb14cad595f70b31cc376903d322c821 (patch) | |
tree | bbb3232dcaefbcb2c69c67e614896acaddacdbb7 /mm/kasan/kasan.h | |
parent | 6f08e98d62799e53c89dbf2c9a49d77e20ca648c (diff) | |
download | linux-b6e4a1aeeb14cad595f70b31cc376903d322c821.tar.bz2 |
mptcp: Protect subflow socket options before connection completes
Userspace should not be able to directly manipulate subflow socket
options before a connection is established since it is not yet known if
it will be an MPTCP subflow or a TCP fallback subflow. TCP fallback
subflows can be more directly controlled by userspace because they are
regular TCP connections, while MPTCP subflow sockets need to be
configured for the specific needs of MPTCP. Use the same logic as
sendmsg/recvmsg to ensure that socket option calls are only passed
through to known TCP fallback subflows.
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/kasan/kasan.h')
0 files changed, 0 insertions, 0 deletions