Re: [PATCH net] gre: Use inner mac length when computing tunnel length
From: David Miller <davem@davemloft.net>
Date: 2014-10-30 23:52:59
From: David Miller <davem@davemloft.net>
Date: 2014-10-30 23:52:59
From: Tom Herbert <redacted> Date: Thu, 30 Oct 2014 08:40:56 -0700
Currently, skb_inner_network_header is used but this does not account for Ethernet header for ETH_P_TEB. Use skb_inner_mac_header which handles TEB and also should work with IP encapsulation in which case inner mac and inner network headers are the same. Tested: Ran TCP_STREAM over GRE, worked as expected. Signed-off-by: Tom Herbert <redacted>
Applied and queued up for -stable. Thanks everyone.