diff options
author | Jason Xing | 2024-04-25 11:13:39 +0800 |
---|---|---|
committer | Paolo Abeni | 2024-04-26 15:34:00 +0200 |
commit | 215d40248bde5562a21e4c6cdeaeca0495c9365a (patch) | |
tree | 726795dc19b0e8b382ca82c213227cdda6bd07b8 /net/ipv6 | |
parent | 3e140491dd80d8643261a21efde3ce2ff6fb9fdf (diff) |
mptcp: introducing a helper into active reset logic
Since we have mapped every mptcp reset reason definition in enum
sk_rst_reason, introducing a new helper can cover some missing places
where we have already set the subflow->reset_reason.
Note: using SK_RST_REASON_NOT_SPECIFIED is the same as
SK_RST_REASON_MPTCP_RST_EUNSPEC. They are both unknown. So we can convert
it directly.
Suggested-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Jason Xing <kernelxing@tencent.com>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions