net: simplify and make pkt_type_ok() available for other users
authorJamal Hadi Salim <[email protected]>
Sat, 2 Jul 2016 10:43:14 +0000 (06:43 -0400)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Signed-off-by: Jamal Hadi Salim <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/linux/skbuff.h
net/netfilter/nft_meta.c