commit | 1c7fab70df085d866a3765955f397ca2b4025b15 | [log] [tgz] |
---|---|---|
author | Menglong Dong <imagedong@tencent.com> | Sun Jan 09 14:36:28 2022 +0800 |
committer | Jakub Kicinski <kuba@kernel.org> | Sun Jan 09 16:30:35 2022 -0800 |
tree | ec88a6b4b61d85f1dd7eb8706f5b609a7970a116 | |
parent | 85125597419aec3aa7b8f3b8713e415f997796f2 [diff] |
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: Menglong Dong <imagedong@tencent.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>