diff options
author | Eric Dumazet <edumazet@google.com> | 2015-09-29 10:42:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-29 19:53:07 -0400 |
commit | bda07a64c09c44ced789dbb815c71854f0c59839 (patch) | |
tree | be0f13ab88d28561878221cd2d54b952dcd2697f /net/ipv4/tcp_minisocks.c | |
parent | a00e74442bac5ad19a929d097370da7e07540ea6 (diff) |
tcp: remove unused len argument from tcp_rcv_state_process()
Once we realize tcp_rcv_synsent_state_process() does not use
its 'len' argument and we get rid of it, then it becomes clear
this argument is no longer used in tcp_rcv_state_process()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_minisocks.c')
-rw-r--r-- | net/ipv4/tcp_minisocks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c index e4fe62b6b106..9c7c61cf7462 100644 --- a/net/ipv4/tcp_minisocks.c +++ b/net/ipv4/tcp_minisocks.c | |||
@@ -821,8 +821,7 @@ int tcp_child_process(struct sock *parent, struct sock *child, | |||
821 | int state = child->sk_state; | 821 | int state = child->sk_state; |
822 | 822 | ||
823 | if (!sock_owned_by_user(child)) { | 823 | if (!sock_owned_by_user(child)) { |
824 | ret = tcp_rcv_state_process(child, skb, tcp_hdr(skb), | 824 | ret = tcp_rcv_state_process(child, skb, tcp_hdr(skb)); |
825 | skb->len); | ||
826 | /* Wakeup parent, send SIGIO */ | 825 | /* Wakeup parent, send SIGIO */ |
827 | if (state == TCP_SYN_RECV && child->sk_state != state) | 826 | if (state == TCP_SYN_RECV && child->sk_state != state) |
828 | parent->sk_data_ready(parent); | 827 | parent->sk_data_ready(parent); |