[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151116.150900.193988253386004564.davem@davemloft.net>
Date: Mon, 16 Nov 2015 15:09:00 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: Ben@...jojo.co.uk
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
ben+patches@...jojo.co.uk
Subject: Re: [PATCH v2 net] raw: increment correct SNMP counters for ICMP
messages
From: Ben Cartwright-Cox <Ben@...jojo.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@...jojo.co.uk>
> Acked-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists