aboutsummaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorMenglong Dong <[email protected]>2022-02-26 12:18:30 +0800
committerDavid S. Miller <[email protected]>2022-02-26 12:53:59 +0000
commita5736edda10ca2ba075606baad1dda3f2426766d (patch)
treeb8c5f8091f0e153df0a5d62e97b97dfab7c503d6 /scripts/clang-tools/gen_compile_commands.py
parent5e187189ec324f78035d33a4bc123a9c4ca6f3e3 (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 <[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 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions