diff options
author | Menglong Dong | 2022-02-26 12:18:30 +0800 |
---|---|---|
committer | David S. Miller | 2022-02-26 12:53:59 +0000 |
commit | a5736edda10ca2ba075606baad1dda3f2426766d (patch) | |
tree | b8c5f8091f0e153df0a5d62e97b97dfab7c503d6 /Documentation/RCU | |
parent | 5e187189ec324f78035d33a4bc123a9c4ca6f3e3 (diff) |
net: neigh: use kfree_skb_reason() for __neigh_event_send()
Replace kfree_skb() used in __neigh_event_send() with
kfree_skb_reason(). Following drop reasons are added:
SKB_DROP_REASON_NEIGH_FAILED
SKB_DROP_REASON_NEIGH_QUEUEFULL
SKB_DROP_REASON_NEIGH_DEAD
The first two reasons above should be the hot path that skb drops
in neighbour subsystem.
Reviewed-by: Mengen Sun <mengensun@tencent.com>
Reviewed-by: Hao Peng <flyingpeng@tencent.com>
Signed-off-by: Menglong Dong <imagedong@tencent.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/RCU')
0 files changed, 0 insertions, 0 deletions