Re: [PATCH] tcp: remove redundant argument from tcp_rcv_established()

2017-07-24 Thread David Miller
From: Ilya Matveychikov Date: Mon, 24 Jul 2017 16:02:12 +0400 > 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 Applied

[PATCH] tcp: remove redundant argument from tcp_rcv_established()

2017-07-24 Thread Ilya Matveychikov
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 --- include/net/tcp.h| 2 +- net/ipv4/tcp_input.c | 3 ++- net/ipv4/tcp_ipv4.c