icmp: Remove some spurious dropped packet profile hits from the ICMP path
authorRick Jones <rick.jones2@hp.com>
Mon, 17 Nov 2014 22:04:29 +0000 (14:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Nov 2014 20:28:28 +0000 (15:28 -0500)
If icmp_rcv() has successfully processed the incoming ICMP datagram, we
should use consume_skb() rather than kfree_skb() because a hit on the likes
of perf -e skb:kfree_skb is not called-for.

Signed-off-by: Rick Jones <rick.jones2@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found