diff options
author | Florian Westphal <fw@strlen.de> | 2021-04-01 16:19:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-02 14:21:50 -0700 |
commit | dc87efdb1a5cd46134a9d490480160e303bc6eef (patch) | |
tree | 57040990350f1bf27ddecf5f015c445fcf4b888f /fs/fs_context.c | |
parent | 781bf13d4f3b033002f7f6728ac0b0d1ebe8f176 (diff) |
mptcp: add mptcp reset option support
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.
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>
Diffstat (limited to 'fs/fs_context.c')
0 files changed, 0 insertions, 0 deletions