From: Tom Herbert Date: Mon, 8 Sep 2014 15:29:12 +0000 (-0700) Subject: net: Fix GRE RX to use skb_transport_header for GRE header offset X-Git-Tag: omap-for-v3.19/prcm-cleanup~78^2~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e701f16982a9d15488a5aa8c7f5c41444b1de67;p=pandora-kernel.git net: Fix GRE RX to use skb_transport_header for GRE header offset GRE assumes that the GRE header is at skb_network_header + ip_hrdlen(skb). It is more general to use skb_transport_header and this allows the possbility of inserting additional header between IP and GRE (which is what we will done in Generic UDP Encapsulation for GRE). Signed-off-by: Tom Herbert Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed