Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1270540

Re: [PATCH v2 net] raw: increment correct SNMP counters for ICMP messages

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2 net] raw: increment correct SNMP counters for ICMP messages
Date 2015-11-16 21:10 +0100
Message-ID <qvyga-3uf-9@gated-at.bofh.it> (permalink)
References <quKMp-5Fz-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2 net] raw: increment correct SNMP counters for ICMP  messages David Miller <davem@davemloft.net> - 2015-11-16 21:10 +0100

csiph-web