net: simplify and make pkt_type_ok() available for other users
authorJamal Hadi Salim <jhs@mojatatu.com>
Sat, 2 Jul 2016 10:43:14 +0000 (06:43 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jul 2016 22:11:13 +0000 (15:11 -0700)
commit8b10cab64c134ffbffac96edd1899d303d3afcac
tree3c02480fc9363974a49cb07e07c97982303b411e
parent8186f6e382d8719d0a4bc0ef218c4dd7cf55b496
net: simplify and make pkt_type_ok() available for other users

Suggested-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/netfilter/nft_meta.c