aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorMenglong Dong <[email protected]>2022-02-26 04:18:29 +0000
committerDavid S. Miller <[email protected]>2022-02-26 12:53:58 +0000
commit5e187189ec324f78035d33a4bc123a9c4ca6f3e3 (patch)
tree84c0ae691f34f42b4879b5e807e57f2ca13f3aac /drivers/net/dsa/dsa_loop.c
parentMerge branch 'dsa-ocelot-phylink-updates' (diff)
downloadkernel-5e187189ec324f78035d33a4bc123a9c4ca6f3e3.tar.gz
kernel-5e187189ec324f78035d33a4bc123a9c4ca6f3e3.zip
net: ip: add skb drop reasons for ip egress path
Replace kfree_skb() which is used in the packet egress path of IP layer with kfree_skb_reason(). Functions that are involved include: __ip_queue_xmit() ip_finish_output() ip_mc_finish_output() ip6_output() ip6_finish_output() ip6_finish_output2() Following new drop reasons are introduced: SKB_DROP_REASON_IP_OUTNOROUTES SKB_DROP_REASON_BPF_CGROUP_EGRESS SKB_DROP_REASON_IPV6DISABLED SKB_DROP_REASON_NEIGH_CREATEFAIL Reviewed-by: Mengen Sun <[email protected]> Reviewed-by: Hao Peng <[email protected]> Signed-off-by: Menglong Dong <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions