Skip to content
Commit e3e32170 authored by Rick Jones's avatar Rick Jones Committed by David S. Miller
Browse files

icmp: Remove some spurious dropped packet profile hits from the ICMP path



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: default avatarRick Jones <rick.jones2@hp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 54aeba7f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment