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
@@ -1296,7 +1296,7 @@ static int tcp_v6_do_rcv(struct sock *sk, struct sk_buff *skb)
|
||||
}
|
||||
}
|
||||
|
||||
tcp_rcv_established(sk, skb, tcp_hdr(skb), skb->len);
|
||||
tcp_rcv_established(sk, skb, tcp_hdr(skb));
|
||||
if (opt_skb)
|
||||
goto ipv6_pktoptions;
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user