Re: [PATCH net-next] tcp: do not clear again skb->csum in tcp_init_nondata_skb()

2017-11-05 Thread David Miller
From: Eric Dumazet Date: Fri, 03 Nov 2017 06:18:59 -0700 > From: Eric Dumazet > > tcp_init_nondata_skb() is fed with freshly allocated skbs. > They already have a cleared csum field, no need to clear it again. > > This is based on Neal review on commit 3b11775033dc ("tcp: do not mangle > skb->

[PATCH net-next] tcp: do not clear again skb->csum in tcp_init_nondata_skb()

2017-11-03 Thread Eric Dumazet
From: Eric Dumazet tcp_init_nondata_skb() is fed with freshly allocated skbs. They already have a cleared csum field, no need to clear it again. This is based on Neal review on commit 3b11775033dc ("tcp: do not mangle skb->cb[] in tcp_make_synack()"), noticing I did not clear skb->csum. Signed-