Skip to content
Commit 1c7fab70 authored by Menglong Dong's avatar Menglong Dong Committed by Jakub Kicinski
Browse files

net: skb: use kfree_skb_reason() in __udp4_lib_rcv()



Replace kfree_skb() with kfree_skb_reason() in __udp4_lib_rcv.
New drop reason 'SKB_DROP_REASON_UDP_CSUM' is added for udp csum
error.

Signed-off-by: default avatarMenglong Dong <imagedong@tencent.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 85125597
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment