[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130316.230121.871149184534614934.davem@davemloft.net>
Date: Sat, 16 Mar 2013 23:01:21 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: timo.teras@....fi
Cc: netdev@...r.kernel.org, yamahata@...inux.co.jp, edumazet@...gle.com
Subject: Re: [PATCH] Revert "ip_gre: make ipgre_tunnel_xmit() not parse
network header as IP unconditionally"
From: Timo Teräs <timo.teras@....fi>
Date: Wed, 13 Mar 2013 14:37:49 +0200
> 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@....fi>
Applied, and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists