From: Ben Cartwright-Cox <b...@benjojo.co.uk> Date: Sat, 14 Nov 2015 15:13:58 +0000
> Sending ICMP packets with raw sockets ends up in the SNMP counters > logging the type as the first byte of the IPv4 header rather than > the ICMP header. This is fixed by adding the IP Header Length to > the casting into a icmphdr struct. > > Signed-off-by: Ben Cartwright-Cox <b...@benjojo.co.uk> > Acked-by: Eric Dumazet <eric.duma...@gmail.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html