]> git.baikalelectronics.ru Git - kernel.git/commit
ip_tunnel: do not clear l4 hashes
authorEric Dumazet <edumazet@google.com>
Thu, 8 Sep 2016 22:40:48 +0000 (15:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Sep 2016 02:33:11 +0000 (19:33 -0700)
commit21e9b7ce8470e970cfe875d5dcf27c7e9c9c7aae
treef861aa27415fa1a8355948c29cf1909c6020dd38
parentea5faddcaadb406de39e5862c1a6c64106ad7b44
ip_tunnel: do not clear l4 hashes

If skb has a valid l4 hash, there is no point clearing hash and force
a further flow dissection when a tunnel encapsulation is added.

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