info is in network byte order, change it back to host byte order
before use. In particular, the current code sets the MTU of the tunnel
to a wrong (too big) value.
Fixes: c12b395a4664 ("gre: Support GRE over IPv6")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
---
net/ipv6/ip6_gre.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From: Eric Dumazet <hidden> Date: 2015-02-04 15:44:41
On Wed, 2015-02-04 at 15:25 +0100, Sabrina Dubroca wrote:
info is in network byte order, change it back to host byte order
before use. In particular, the current code sets the MTU of the tunnel
to a wrong (too big) value.
Fixes: c12b395a4664 ("gre: Support GRE over IPv6")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
---
From: Eric Dumazet <hidden> Date: 2015-02-04 15:50:17
On Wed, 2015-02-04 at 07:44 -0800, Eric Dumazet wrote:
On Wed, 2015-02-04 at 15:25 +0100, Sabrina Dubroca wrote:
quoted
info is in network byte order, change it back to host byte order
before use. In particular, the current code sets the MTU of the tunnel
to a wrong (too big) value.
Fixes: c12b395a4664 ("gre: Support GRE over IPv6")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
---
Acked-by: Eric Dumazet <redacted>
BTW, "fl6.flowi6_proto = skb->protocol; " in ip6gre_xmit_other()
looks suspicious...
On Wed, 2015-02-04 at 07:44 -0800, Eric Dumazet wrote:
quoted
On Wed, 2015-02-04 at 15:25 +0100, Sabrina Dubroca wrote:
quoted
info is in network byte order, change it back to host byte order
before use. In particular, the current code sets the MTU of the tunnel
to a wrong (too big) value.
Fixes: c12b395a4664 ("gre: Support GRE over IPv6")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
---
Acked-by: Eric Dumazet <redacted>
BTW, "fl6.flowi6_proto = skb->protocol; " in ip6gre_xmit_other()
looks suspicious...
Yes, I know that sparse complains about it. I don't know how to
handle that for now. ntohs would silence the sparse warning, but we
would still have u8 vs u16. I'll need to have a closer look.
--
Sabrina
info is in network byte order, change it back to host byte order
before use. In particular, the current code sets the MTU of the tunnel
to a wrong (too big) value.
Fixes: c12b395a4664 ("gre: Support GRE over IPv6")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>