Re: [PATCH net-next] tcp: cleanup sk_tx_skb_cache before reuse

2019-04-01 Thread David Miller
From: Eric Dumazet Date: Fri, 29 Mar 2019 12:46:17 -0700 > TCP stack relies on the fact that a freshly allocated skb > has skb->cb[] and skb_shinfo(skb)->tx_flags cleared. > > When recycling tx skb, we must ensure these fields are cleared. > > Fixes: 472c2e07eef0 ("tcp: add one skb cache for tx

Re: [PATCH net-next] tcp: cleanup sk_tx_skb_cache before reuse

2019-03-29 Thread Soheil Hassas Yeganeh
On Fri, Mar 29, 2019 at 3:46 PM Eric Dumazet wrote: > > TCP stack relies on the fact that a freshly allocated skb > has skb->cb[] and skb_shinfo(skb)->tx_flags cleared. > > When recycling tx skb, we must ensure these fields are cleared. > > Fixes: 472c2e07eef0 ("tcp: add one skb cache for tx") > S

[PATCH net-next] tcp: cleanup sk_tx_skb_cache before reuse

2019-03-29 Thread Eric Dumazet
TCP stack relies on the fact that a freshly allocated skb has skb->cb[] and skb_shinfo(skb)->tx_flags cleared. When recycling tx skb, we must ensure these fields are cleared. Fixes: 472c2e07eef0 ("tcp: add one skb cache for tx") Signed-off-by: Eric Dumazet Cc: Soheil Hassas Yeganeh Cc: Willem d