rstreason: prepare for active reset
authorJason Xing <kernelxing@tencent.com>
Thu, 25 Apr 2024 03:13:36 +0000 (11:13 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Fri, 26 Apr 2024 13:34:00 +0000 (15:34 +0200)
commit5691276b39daf90294c6a81fb6d62d667f634c92
tree8f7893cfa6fbe4dfa4ef1cbfd03d7edf78b7f90e
parent6be49deaa09576c141002a2e6f816a1709bc2c86
rstreason: prepare for active reset

Like what we did to passive reset:
only passing possible reset reason in each active reset path.

No functional changes.

Signed-off-by: Jason Xing <kernelxing@tencent.com>
Acked-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/net/tcp.h
net/ipv4/tcp.c
net/ipv4/tcp_output.c
net/ipv4/tcp_timer.c
net/mptcp/protocol.c
net/mptcp/subflow.c