-
Notifications
You must be signed in to change notification settings - Fork 41
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-add-mptcp-reset-option-support
- Loading branch information
Showing
1 changed file
with
17 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,18 @@ | ||
From: Matthieu Baerts <matthieu.baerts@tessares.net> | ||
Subject: [PATCH] t/mptcp-add-mptcp-reset-option-support | ||
From: Florian Westphal <fw@strlen.de> | ||
Subject: [PATCH] mptcp: add mptcp reset option support | ||
|
||
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> | ||
The MPTCP reset option allows to carry a mptcp-specific error code that | ||
provides more information on the nature of a connection reset. | ||
|
||
Reset option data received gets stored in the subflow context so it can | ||
be sent to userspace via the 'subflow closed' netlink event. | ||
|
||
When a subflow is closed, the desired error code that should be sent to | ||
the peer is also placed in the subflow context structure. | ||
|
||
If a reset is sent before subflow establishment could complete, e.g. on | ||
HMAC failure during an MP_JOIN operation, the mptcp skb extension is | ||
used to store the reset information. | ||
|
||
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> | ||
Signed-off-by: Florian Westphal <fw@strlen.de> |