]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/netfilter/nf_tables_api.c
netfilter: restore NF_INET_NUMHOOKS
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 14 Oct 2020 19:34:32 +0000 (21:34 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 15 Oct 2020 03:28:05 +0000 (20:28 -0700)
commitd25e2e9388eda61b6e298585024ee3355f50c493
tree61f4d14910ab60337eed7e891f2ae4844b699db3
parent50172733d01c3097b23ac8d45bf1fff72af0ba98
netfilter: restore NF_INET_NUMHOOKS

This definition is used by the iptables legacy UAPI, restore it.

Fixes: d3519cb89f6d ("netfilter: nf_tables: add inet ingress support")
Reported-by: Jason A. Donenfeld <Jason@zx2c4.com>
Tested-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/netfilter/nf_tables.h
include/uapi/linux/netfilter.h
net/netfilter/nf_tables_api.c