]> git.baikalelectronics.ru Git - kernel.git/commit
net: dev: add skb drop reasons to __dev_xmit_skb()
authorMenglong Dong <imagedong@tencent.com>
Fri, 4 Mar 2022 06:00:42 +0000 (14:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Mar 2022 12:17:11 +0000 (12:17 +0000)
commit48f888cb63500a68435dc81cdb4a0a65fa3557a1
treeccd4d6b5a1643c62514cf24f6423433c713857e7
parente2ff42e6ca3b21929d53b3fab3bd754cd777c0ff
net: dev: add skb drop reasons to __dev_xmit_skb()

Add reasons for skb drops to __dev_xmit_skb() by replacing
kfree_skb_list() with kfree_skb_list_reason(). The drop reason of
SKB_DROP_REASON_QDISC_DROP is introduced for qdisc enqueue fails.

Signed-off-by: Menglong Dong <imagedong@tencent.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
include/trace/events/skb.h
net/core/dev.c