diff options
author | Menglong Dong <[email protected]> | 2022-02-05 15:47:35 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-02-07 11:18:49 +0000 |
commit | 33cba42985c8144eef78d618fc1e51aaa074b169 (patch) | |
tree | 80cafa612b8048e554cce205ab3a378c4e833af7 /lib/mpi/mpi-bit.c | |
parent | 2df3041ba3be950376e8c25a8f6da22f7fcc765c (diff) |
net: ipv4: use kfree_skb_reason() in ip_rcv_core()
Replace kfree_skb() with kfree_skb_reason() in ip_rcv_core(). Three new
drop reasons are introduced:
SKB_DROP_REASON_OTHERHOST
SKB_DROP_REASON_IP_CSUM
SKB_DROP_REASON_IP_INHDR
Signed-off-by: Menglong Dong <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions