diff options
| author | Menglong Dong <[email protected]> | 2022-02-26 04:18:30 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-02-26 12:53:59 +0000 |
| commit | a5736edda10ca2ba075606baad1dda3f2426766d (patch) | |
| tree | b8c5f8091f0e153df0a5d62e97b97dfab7c503d6 /drivers/net/dsa/dsa_loop.c | |
| parent | net: ip: add skb drop reasons for ip egress path (diff) | |
| download | kernel-a5736edda10ca2ba075606baad1dda3f2426766d.tar.gz kernel-a5736edda10ca2ba075606baad1dda3f2426766d.zip | |
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 <[email protected]>
Reviewed-by: Hao Peng <[email protected]>
Signed-off-by: Menglong Dong <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions
