diff options
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 28b04ff8c967..e2d2ca2509be 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1229,6 +1229,7 @@ static inline void tcp_write_queue_purge(struct sock *sk) | |||
1229 | while ((skb = __skb_dequeue(&sk->sk_write_queue)) != NULL) | 1229 | while ((skb = __skb_dequeue(&sk->sk_write_queue)) != NULL) |
1230 | sk_wmem_free_skb(sk, skb); | 1230 | sk_wmem_free_skb(sk, skb); |
1231 | sk_mem_reclaim(sk); | 1231 | sk_mem_reclaim(sk); |
1232 | tcp_clear_all_retrans_hints(tcp_sk(sk)); | ||
1232 | } | 1233 | } |
1233 | 1234 | ||
1234 | static inline struct sk_buff *tcp_write_queue_head(struct sock *sk) | 1235 | static inline struct sk_buff *tcp_write_queue_head(struct sock *sk) |