Re: [PATCH net] ipv6: fix endianness error in icmpv6_err

2016-06-14 Thread David Miller
From: Hannes Frederic Sowa Date: Sat, 11 Jun 2016 20:32:06 +0200 > IPv6 ping socket error handler doesn't correctly convert the new 32 bit > mtu to host endianness before using. > > Cc: Lorenzo Colitti > Fixes: 6d0bfe22611602f ("net: ipv6: Add IPv6 support to the ping socket.") > Signed-off-by:

Re: [PATCH net] ipv6: fix endianness error in icmpv6_err

2016-06-11 Thread Lorenzo Colitti
On Sun, Jun 12, 2016 at 3:32 AM, Hannes Frederic Sowa wrote: > IPv6 ping socket error handler doesn't correctly convert the new 32 bit > mtu to host endianness before using. > ... > if (!(type & ICMPV6_INFOMSG_MASK)) > if (icmp6->icmp6_type == ICMPV6_ECHO_REQUEST) > -

[PATCH net] ipv6: fix endianness error in icmpv6_err

2016-06-11 Thread Hannes Frederic Sowa
IPv6 ping socket error handler doesn't correctly convert the new 32 bit mtu to host endianness before using. Cc: Lorenzo Colitti Fixes: 6d0bfe22611602f ("net: ipv6: Add IPv6 support to the ping socket.") Signed-off-by: Hannes Frederic Sowa --- net/ipv6/icmp.c | 2 +- 1 file changed, 1 insertion