[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1375789033.4457.87.camel@edumazet-glaptop>
Date: Tue, 06 Aug 2013 04:37:13 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Timo Teräs <timo.teras@....fi>
Cc: netdev@...r.kernel.org, Pravin B Shelar <pshelar@...ira.com>
Subject: Re: [PATCH net] ip_gre: fix ipgre_header to return correct offset
On Tue, 2013-08-06 at 13:45 +0300, Timo Teräs wrote:
> Fix ipgre_header() (header_ops->create) to return the correct
> amount of bytes pushed. Most callers of dev_hard_header() seem
> to care only if it was success, but af_packet.c uses it as
> offset to the skb to copy from userspace only once. In practice
> this fixes packet socket sendto()/sendmsg() to gre tunnels.
>
> Regression introduced in c54419321455631079c7d6e60bc732dd0c5914c5
> ("GRE: Refactor GRE tunneling code.")
>
> Cc: Pravin B Shelar <pshelar@...ira.com>
> Signed-off-by: Timo Teräs <timo.teras@....fi>
> ---
> Should go to 3.10-stable too. Without this dmvpn setup does not work
> at all, as opennhrp uses packet sockets to send the nhrp packets.
>
> net/ipv4/ip_gre.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Eric Dumazet <edumazet@...gle.com>
--
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