]> git.baikalelectronics.ru Git - kernel.git/commit
gre: When GRE csum is present count as encap layer wrt csum
authorTom Herbert <therbert@google.com>
Fri, 22 Aug 2014 20:34:52 +0000 (13:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Aug 2014 01:09:24 +0000 (18:09 -0700)
commit8c412a12f55af2fd0c3adea84565ed455a04609d
treeffcf7e1f7bddfa61924e258facdd367027573922
parentbdbd9433e7d7f8e34bbb81206057d183287155a5
gre: When GRE csum is present count as encap layer wrt csum

In GRE demux if the GRE checksum pop rcv encapsulation so that any
encapsulated checksums are treated as tunnel checksums.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/gre_demux.c