diff options
author | Florian Westphal <fw@strlen.de> | 2021-04-02 01:19:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-02 23:21:50 +0200 |
commit | dc87efdb1a5cd46134a9d490480160e303bc6eef (patch) | |
tree | 57040990350f1bf27ddecf5f015c445fcf4b888f /crypto/xcbc.c | |
parent | mptcp: remove unneeded check on first subflow (diff) | |
download | linux-dc87efdb1a5cd46134a9d490480160e303bc6eef.tar.xz linux-dc87efdb1a5cd46134a9d490480160e303bc6eef.zip |
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 'crypto/xcbc.c')
0 files changed, 0 insertions, 0 deletions