]> git.baikalelectronics.ru Git - kernel.git/commit
net: skb: introduce the function kfree_skb_list_reason()
authorMenglong Dong <imagedong@tencent.com>
Fri, 4 Mar 2022 06:00:41 +0000 (14:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Mar 2022 12:17:11 +0000 (12:17 +0000)
commit212ce12aa70e36b913512bdd3a511b6aac012998
tree6f1bd38180726481341dc5720b2e0fdbd52a881e
parent3c834578a3e6ac4014a882cdc84426795c3296ff
net: skb: introduce the function kfree_skb_list_reason()

To report reasons of skb drops, introduce the function
kfree_skb_list_reason() and make kfree_skb_list() an inline call to
it. This function will be used in the next commit in
__dev_xmit_skb().

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