summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorMenglong Dong <imagedong@tencent.com>2022-03-04 09:00:44 +0300
committerDavid S. Miller <davem@davemloft.net>2022-03-04 15:17:11 +0300
commit7e726ed81e1ddd5fdc431e02b94fcfe2a9876d42 (patch)
treeb69798c8c8bbaa44e80274bc0637446770dc7d3f /include/net
parent44f0bd40803c0e04f1c8cd59df3c7acce783ae9c (diff)
downloadlinux-7e726ed81e1ddd5fdc431e02b94fcfe2a9876d42.tar.xz
net: dev: use kfree_skb_reason() for do_xdp_generic()
Replace kfree_skb() used in do_xdp_generic() with kfree_skb_reason(). The drop reason SKB_DROP_REASON_XDP is introduced for this case. Signed-off-by: Menglong Dong <imagedong@tencent.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions