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


Groups > linux.kernel > #1270540 > unrolled thread

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

Started byDavid Miller <davem@davemloft.net>
First post2015-11-16 21:10 +0100
Last post2015-11-16 21:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromDavid Miller <davem@davemloft.net>
Date2015-11-16 21:10 +0100
SubjectRe: [PATCH v2 net] raw: increment correct SNMP counters for ICMP messages
Message-ID<qvyga-3uf-9@gated-at.bofh.it>
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web