diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2026-04-15 13:21:00 +0300 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2026-04-21 00:27:52 +0300 |
| commit | b6fe26f86a1649f84e057f3f15605b08eda15497 (patch) | |
| tree | de3f33cbd26fd6909ea67769d4f46e2330ce0a92 /scripts/const_structs.checkpatch | |
| parent | 6e7066bdb481a87fe88c4fa563e348c03b2d373d (diff) | |
| download | linux-b6fe26f86a1649f84e057f3f15605b08eda15497.tar.xz | |
netfilter: xtables: restrict several matches to inet family
This is a partial revert of:
commit ab4f21e6fb1c ("netfilter: xtables: use NFPROTO_UNSPEC in more extensions")
to allow ipv4 and ipv6 only.
- xt_mac
- xt_owner
- xt_physdev
These extensions are not used by ebtables in userspace.
Moreover, xt_realm is only for ipv4, since dst->tclassid is ipv4
specific.
Fixes: ab4f21e6fb1c ("netfilter: xtables: use NFPROTO_UNSPEC in more extensions")
Reported-by: "Kito Xu (veritas501)" <hxzene@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
