]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: do not clear TCP_SKB_CB(skb)->sacked if already zero
authorEric Dumazet <edumazet@google.com>
Wed, 27 Oct 2021 20:19:23 +0000 (13:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2021 11:44:39 +0000 (12:44 +0100)
commit39a8d5e3af784d17f3442db450e2611983020cd0
tree07320be5053af4596e9e59a9099f4b6aa36c1385
parent80d13802b3697a00333aff5314216e3e3ad4100a
tcp: do not clear TCP_SKB_CB(skb)->sacked if already zero

Freshly allocated skbs have zero in skb->cb[] already.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c
net/ipv4/tcp_output.c