int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg);
 int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb);
 void tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
-                        const struct tcphdr *th, unsigned int len);
+                        const struct tcphdr *th);
 void tcp_rcv_space_adjust(struct sock *sk);
 int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp);
 void tcp_twsk_destructor(struct sock *sk);
 
  *     tcp_data_queue when everything is OK.
  */
 void tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
-                        const struct tcphdr *th, unsigned int len)
+                        const struct tcphdr *th)
 {
+       unsigned int len = skb->len;
        struct tcp_sock *tp = tcp_sk(sk);
 
        tcp_mstamp_refresh(tp);
 
                                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;
        }
 
 
  * Note: arguments must match tcp_rcv_established()!
  */
 static void jtcp_rcv_established(struct sock *sk, struct sk_buff *skb,
-                                const struct tcphdr *th, unsigned int len)
+                                const struct tcphdr *th)
 {
+       unsigned int len = skb->len;
        const struct tcp_sock *tp = tcp_sk(sk);
        const struct inet_sock *inet = inet_sk(sk);
 
                                BUG();
                        }
 
-                       p->length = skb->len;
+                       p->length = len;
                        p->snd_nxt = tp->snd_nxt;
                        p->snd_una = tp->snd_una;
                        p->snd_cwnd = tp->snd_cwnd;
 
                        }
                }
 
-               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;