tcp: Change return value of tcp_rcv_established()
authorVijay Subramanian <subramanian.vijay@gmail.com>
Tue, 3 Sep 2013 19:23:22 +0000 (12:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 04:27:28 +0000 (00:27 -0400)
commitc995ae2259ee36caf48bbfacf40111998dacd4af
treedbe9be79766ab1c2a4f9da7ae461bd6ceab6bc9f
parentcc8c6c1b21c9b1e0f1e89428c07c7c52435cba0c
tcp: Change return value of tcp_rcv_established()

tcp_rcv_established() returns only one value namely 0. We change the return
value to void (as suggested by David Miller).

After commit 0c24604b (tcp: implement RFC 5961 4.2), we no longer send RSTs in
response to SYNs. We can remove the check and processing on the return value of
tcp_rcv_established().

We also fix jtcp_rcv_established() in tcp_probe.c to match that of
tcp_rcv_established().

Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_probe.c
net/ipv6/tcp_ipv6.c