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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 13ebe11a0af7..76286e80205a 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1196,8 +1196,8 @@ static inline void tcp_write_queue_purge(struct sock *sk)
1196 struct sk_buff *skb; 1196 struct sk_buff *skb;
1197 1197
1198 while ((skb = __skb_dequeue(&sk->sk_write_queue)) != NULL) 1198 while ((skb = __skb_dequeue(&sk->sk_write_queue)) != NULL)
1199 sk_stream_free_skb(sk, skb); 1199 sk_wmem_free_skb(sk, skb);
1200 sk_stream_mem_reclaim(sk); 1200 sk_mem_reclaim(sk);
1201} 1201}
1202 1202
1203static inline struct sk_buff *tcp_write_queue_head(struct sock *sk) 1203static inline struct sk_buff *tcp_write_queue_head(struct sock *sk)