Skip to content
Commit 7e726ed8 authored by Menglong Dong's avatar Menglong Dong Committed by David S. Miller
Browse files

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: default avatarMenglong Dong <imagedong@tencent.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 44f0bd40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment