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)
commit48a5fc773190bd5339869003fa65d38559bb8890
treeffcf7e1f7bddfa61924e258facdd367027573922
parent57c67ff4bd92af634f7c91c40eb02a96dd785dda
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