summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2021-04-23 11:17:07 -0700
committerDavid S. Miller <davem@davemloft.net>2021-04-23 14:06:32 -0700
commit987858e5d026d355535b34f17c6ceeb1d71ccf75 (patch)
tree4e0f78464b3da95b115d4f74aac0d2ee5dd00c4b /tools/testing/selftests/net
parentd976092ce1b04d634d408f475224347cfae81201 (diff)
downloadlinux-987858e5d026d355535b34f17c6ceeb1d71ccf75.tar.bz2
mptcp: ignore unsupported msg flags
Currently mptcp_sendmsg() fails with EOPNOTSUPP if the user-space provides some unsupported flag. That is unexpected and may foul existing applications migrated to MPTCP, which expect a different behavior. Change the mentioned function to silently ignore the unsupported flags except MSG_FASTOPEN. This is the only flags currently not supported by MPTCP with user-space visible side-effects. Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/162 Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net')
0 files changed, 0 insertions, 0 deletions