Commit e45b7196 authored by Qiu Yutan's avatar Qiu Yutan Committed by David S. Miller
Browse files

net: neigh: use kfree_skb_reason() in neigh_resolve_output() and neigh_connected_output()



Replace kfree_skb() used in neigh_resolve_output() and
neigh_connected_output() with kfree_skb_reason().

Following new skb drop reason is added:
/* failed to fill the device hard header */
SKB_DROP_REASON_NEIGH_HH_FILLFAIL

Signed-off-by: default avatarQiu Yutan <qiu.yutan@zte.com.cn>
Signed-off-by: default avatarJiang Kun <jiang.kun2@zte.com.cn>
Reviewed-by: default avatarKuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: default avatarXu Xin <xu.xin16@zte.com.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8ceeef23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment