diff options
author | Menglong Dong <imagedong@tencent.com> | 2022-02-26 07:18:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-26 15:53:59 +0300 |
commit | a5736edda10ca2ba075606baad1dda3f2426766d (patch) | |
tree | b8c5f8091f0e153df0a5d62e97b97dfab7c503d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5e187189ec324f78035d33a4bc123a9c4ca6f3e3 (diff) | |
download | linux-a5736edda10ca2ba075606baad1dda3f2426766d.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions