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)
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>

No differences found