diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-03-13 06:37:49 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-17 07:00:41 +0400 |
commit | 8c6216d7f118a128678270824b6a1286a63863ca (patch) | |
tree | e158488e36eb37a7731ce9d19ff3e61b4c4ae064 /net/netlink | |
parent | aaa0c23cb90141309f5076ba5e3bfbd39544b985 (diff) | |
download | linux-8c6216d7f118a128678270824b6a1286a63863ca.tar.xz |
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>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions