tcp: remove redundant argument from tcp_rcv_established()
The last (4th) argument of tcp_rcv_established() is redundant as it always equals to skb->len and the skb itself is always passed as 2th agrument. There is no reason to have it. Signed-off-by: Ilya V. Matveychikov <matvejchikov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
f575a02ee7
commit
e42e24c3cc
@@ -1458,7 +1458,7 @@ int tcp_v4_do_rcv(struct sock *sk, struct sk_buff *skb)
|
||||
sk->sk_rx_dst = NULL;
|
||||
}
|
||||
}
|
||||
tcp_rcv_established(sk, skb, tcp_hdr(skb), skb->len);
|
||||
tcp_rcv_established(sk, skb, tcp_hdr(skb));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user