-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tg import create t/mptcp-ignore-unsupported-msg-flags
- Loading branch information
Showing
1 changed file
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
From: Matthieu Baerts <matthieu.baerts@tessares.net> | ||
Subject: [PATCH] t/mptcp-ignore-unsupported-msg-flags | ||
From: Paolo Abeni <pabeni@redhat.com> | ||
Subject: [PATCH] mptcp: ignore unsupported msg flags | ||
|
||
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> | ||
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 | ||
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> | ||
Signed-off-by: Paolo Abeni <pabeni@redhat.com> |