]> err.no Git - linux-2.6/blobdiff - include/net/tcp.h
[NET]: Implement the per network namespace sysctl infrastructure
[linux-2.6] / include / net / tcp.h
index f0c5e7a2940045fbe80da96c41f1078ea5236e8a..7e583261f3a0adc892f91aa954faddca3be087c6 100644 (file)
@@ -1236,14 +1236,9 @@ static inline struct sk_buff *tcp_send_head(struct sock *sk)
 
 static inline void tcp_advance_send_head(struct sock *sk, struct sk_buff *skb)
 {
-       struct tcp_sock *tp = tcp_sk(sk);
-
        sk->sk_send_head = skb->next;
        if (sk->sk_send_head == (struct sk_buff *)&sk->sk_write_queue)
                sk->sk_send_head = NULL;
-       /* Don't override Nagle indefinately with F-RTO */
-       if (tp->frto_counter == 2)
-               tp->frto_counter = 3;
 }
 
 static inline void tcp_check_send_head(struct sock *sk, struct sk_buff *skb_unlinked)