Messages in this thread | | | Date | Mon, 16 Nov 2015 15:09:00 -0500 (EST) | Subject | Re: [PATCH v2 net] raw: increment correct SNMP counters for ICMP messages | From | David Miller <> |
| |
From: Ben Cartwright-Cox <Ben@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 <ben@benjojo.co.uk> > Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Applied.
| |