summaryrefslogtreecommitdiff
path: root/include/trace/events/skb.h
diff options
context:
space:
mode:
authorMenglong Dong <imagedong@tencent.com>2022-02-05 15:47:36 +0800
committerDavid S. Miller <davem@davemloft.net>2022-02-07 11:18:49 +0000
commitc1f166d1f7eef212096a98b22f5acf92f9af353d (patch)
tree52c4dd2b708fe6c37bf7f84e8f96f11fdced798b /include/trace/events/skb.h
parent33cba42985c8144eef78d618fc1e51aaa074b169 (diff)
net: ipv4: use kfree_skb_reason() in ip_rcv_finish_core()
Replace kfree_skb() with kfree_skb_reason() in ip_rcv_finish_core(), following drop reasons are introduced: SKB_DROP_REASON_IP_RPFILTER SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST Signed-off-by: Menglong Dong <imagedong@tencent.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/trace/events/skb.h')
-rw-r--r--include/trace/events/skb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/trace/events/skb.h b/include/trace/events/skb.h
index f2b1778485f0..485a1d3034a4 100644
--- a/include/trace/events/skb.h
+++ b/include/trace/events/skb.h
@@ -20,6 +20,9 @@
EM(SKB_DROP_REASON_OTHERHOST, OTHERHOST) \
EM(SKB_DROP_REASON_IP_CSUM, IP_CSUM) \
EM(SKB_DROP_REASON_IP_INHDR, IP_INHDR) \
+ EM(SKB_DROP_REASON_IP_RPFILTER, IP_RPFILTER) \
+ EM(SKB_DROP_REASON_UNICAST_IN_L2_MULTICAST, \
+ UNICAST_IN_L2_MULTICAST) \
EMe(SKB_DROP_REASON_MAX, MAX)
#undef EM