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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 58d82822414d..2ab350eca02e 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1247,7 +1247,7 @@ static inline void tcp_insert_write_queue_after(struct sk_buff *skb,
1247 struct sk_buff *buff, 1247 struct sk_buff *buff,
1248 struct sock *sk) 1248 struct sock *sk)
1249{ 1249{
1250 __skb_append(skb, buff, &sk->sk_write_queue); 1250 __skb_queue_after(&sk->sk_write_queue, skb, buff);
1251} 1251}
1252 1252
1253/* Insert skb between prev and next on the write queue of sk. */ 1253/* Insert skb between prev and next on the write queue of sk. */