commit | d1e158e2d7a0a91110b206653f0e02376e809150 | [log] [tgz] |
---|---|---|
author | Sabrina Dubroca <sd@queasysnail.net> | Wed Feb 04 15:25:09 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 05 00:33:10 2015 -0800 |
tree | efc05a10d97f7a793025ed11c5aceb620a149b16 | |
parent | f31ec95fa19e07a8beebcc0297284f23aa57967e [diff] |
ip6_gre: fix endianness errors in ip6gre_err 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 <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>