]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipv6: update skb->csum when CE mark is propagated
authorEric Dumazet <edumazet@google.com>
Fri, 15 Jan 2016 12:56:56 +0000 (04:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jan 2016 20:07:23 +0000 (15:07 -0500)
commit34ae6a1aa0540f0f781dd265366036355fdc8930
tree11df908434ac0da470b34a08fd254df1429c4e65
parent113c74d83eef870e43a0d9279044e9d5435f0d07
ipv6: update skb->csum when CE mark is propagated

When a tunnel decapsulates the outer header, it has to comply
with RFC 6080 and eventually propagate CE mark into inner header.

It turns out IP6_ECN_set_ce() does not correctly update skb->csum
for CHECKSUM_COMPLETE packets, triggering infamous "hw csum failure"
messages and stack traces.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_ecn.h
net/ipv6/xfrm6_mode_tunnel.c