diff options
author | Eric Dumazet | 2021-10-27 13:19:22 -0700 |
---|---|---|
committer | David S. Miller | 2021-10-28 12:44:39 +0100 |
commit | 4f2266748eabc42f107ecb6a3cc5b34614b29a12 (patch) | |
tree | 455495f80c8be4d8c65984ae132f6473446913fe /net/ipv6/tcp_ipv6.c | |
parent | a52fe46ef160b4101b8d14209729f49a71388b52 (diff) |
tcp: do not clear skb->csum if already zero
Freshly allocated skbs have their csum field cleared already.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index c678e778c1fb..2cc9b0e53ad1 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -969,7 +969,6 @@ static void tcp_v6_send_response(const struct sock *sk, struct sk_buff *skb, u32 fl6.flowlabel = label; buff->ip_summed = CHECKSUM_PARTIAL; - buff->csum = 0; __tcp_v6_send_check(buff, &fl6.saddr, &fl6.daddr); |