]> git.baikalelectronics.ru Git - kernel.git/commit
net: skb: move enum skb_drop_reason to standalone header file
authorMenglong Dong <imagedong@tencent.com>
Mon, 6 Jun 2022 02:24:34 +0000 (10:24 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 7 Jun 2022 10:51:41 +0000 (12:51 +0200)
commit124effd71c262ad91a7a9f04a266a70d95dcf917
tree09b48ae38e78bc9b5d45f4126963b1cfb7e1effd
parent0e13b32e19a71ac82cc500daabfeb9adb552ffdb
net: skb: move enum skb_drop_reason to standalone header file

As the skb drop reasons are getting more and more, move the enum
'skb_drop_reason' and related function to the standalone header
'dropreason.h', as Jakub Kicinski suggested.

Signed-off-by: Menglong Dong <imagedong@tencent.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/linux/skbuff.h
include/net/dropreason.h [new file with mode: 0644]