From: Tom Herbert Date: Thu, 30 Oct 2014 15:40:56 +0000 (-0700) Subject: gre: Use inner mac length when computing tunnel length X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~25^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14051f0452a2c26a3f4791e6ad6a435e8f1945ff;p=pandora-kernel.git gre: Use inner mac length when computing tunnel length 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 Acked-by: Alexander Duyck Signed-off-by: David S. Miller --- Reading git-diff-tree failed