summaryrefslogtreecommitdiff
path: root/scripts/headers_check.pl
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-02-16 15:55:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-15 18:23:43 +0100
commit087d38ae0fd5a9a41b949e97601b4b0d09336f19 (patch)
tree854b377bee0c2afe13e3ca17d49f63498d6136e9 /scripts/headers_check.pl
parent437d8898fbf40b92516aef697b5638acccb7a6f9 (diff)
netfilter: nf_tables: Reject tables of unsupported family
commit f1082dd31fe461d482d69da2a8eccfeb7bf07ac2 upstream. An nftables family is merely a hollow container, its family just a number and such not reliant on compile-time options other than nftables support itself. Add an artificial check so attempts at using a family the kernel can't support fail as early as possible. This helps user space detect kernels which lack e.g. NFPROTO_INET. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/headers_check.pl')
0 files changed, 0 insertions, 0 deletions