aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index f0c5e7a2940..7e583261f3a 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1236,14 +1236,9 @@ static inline struct sk_buff *tcp_send_head(struct sock *sk)
1236 1236
1237static inline void tcp_advance_send_head(struct sock *sk, struct sk_buff *skb) 1237static inline void tcp_advance_send_head(struct sock *sk, struct sk_buff *skb)
1238{ 1238{
1239 struct tcp_sock *tp = tcp_sk(sk);
1240
1241 sk->sk_send_head = skb->next; 1239 sk->sk_send_head = skb->next;
1242 if (sk->sk_send_head == (struct sk_buff *)&sk->sk_write_queue) 1240 if (sk->sk_send_head == (struct sk_buff *)&sk->sk_write_queue)
1243 sk->sk_send_head = NULL; 1241 sk->sk_send_head = NULL;
1244 /* Don't override Nagle indefinately with F-RTO */
1245 if (tp->frto_counter == 2)
1246 tp->frto_counter = 3;
1247} 1242}
1248 1243
1249static inline void tcp_check_send_head(struct sock *sk, struct sk_buff *skb_unlinked) 1244static inline void tcp_check_send_head(struct sock *sk, struct sk_buff *skb_unlinked)