Message ID | 20191217002455.24849-11-mathew.j.martineau@linux.intel.com |
---|---|
State | Deferred, archived |
Headers | show |
Series | Multipath TCP: Prerequisites | expand |
diff --git a/include/net/sock.h b/include/net/sock.h index 0930f46c600c..7eb66edb8abe 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -1474,6 +1474,7 @@ static inline void sk_wmem_free_skb(struct sock *sk, struct sk_buff *skb) sk_mem_uncharge(sk, skb->truesize); if (static_branch_unlikely(&tcp_tx_skb_cache_key) && !sk->sk_tx_skb_cache && !skb_cloned(skb)) { + skb_ext_reset(skb); skb_zcopy_clear(skb, true); sk->sk_tx_skb_cache = skb; return;