Timo Teräs 8c6216d7f1 Revert "ip_gre: make ipgre_tunnel_xmit() not parse network header as IP unconditionally"
This reverts commit 412ed94744d16806fbec3bd250fd94e71cde5a1f.

The commit is wrong as tiph points to the outer IPv4 header which is
installed at ipgre_header() and not the inner one which is protocol dependant.

This commit broke succesfully opennhrp which use PF_PACKET socket with
ETH_P_NHRP protocol. Additionally ssl_addr is set to the link-layer
IPv4 address. This address is written by ipgre_header() to the skb
earlier, and this is the IPv4 header tiph should point to - regardless
of the inner protocol payload.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-16 23:00:41 -04:00
..
2013-02-25 15:47:41 -05:00
2013-02-15 15:10:37 -05:00
2011-10-19 03:10:46 -04:00
2012-10-08 17:42:36 -04:00
2013-02-04 15:46:15 -05:00
2012-07-31 18:42:43 -07:00
2013-02-21 15:25:00 -05:00
2012-01-20 14:17:26 -05:00
2012-01-20 14:17:26 -05:00
2012-05-17 14:59:59 -04:00
2011-03-31 11:26:23 -03:00
2013-03-14 11:49:45 -04:00
2011-03-31 11:26:23 -03:00
2013-03-14 11:49:45 -04:00
2012-03-11 23:42:51 -07:00
2012-04-15 12:37:19 -04:00