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)
commitff8372a467fa28752610f57a6512c5365413faa2
tree09b48ae38e78bc9b5d45f4126963b1cfb7e1effd
parent12de1ebd2ae3999b5454b5d6efd0c7365ce61c41
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]