tcp: make the dropreason really work when calling tcp_rcv_state_process()
authorJason Xing <kernelxing@tencent.com>
Mon, 26 Feb 2024 03:22:26 +0000 (11:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2024 10:39:22 +0000 (10:39 +0000)
commitb9825695930546af725b1e686b8eaf4c71201728
treeb9e1d1b380d9ea8b1e6241bd836e75d832755aa0
parent7d6ed9afde8547723f6f96f81f984cc6c48eef52
tcp: make the dropreason really work when calling tcp_rcv_state_process()

Update three callers including both ipv4 and ipv6 and let the dropreason
mechanism work in reality.

Signed-off-by: Jason Xing <kernelxing@tencent.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c
net/ipv6/tcp_ipv6.c