diff options
author | Phil Sutter <phil@nwl.cc> | 2022-06-30 18:04:39 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2022-07-02 02:15:30 +0200 |
commit | 552c4a2f9e5706fef5f7abb27d1492a78bbb2a37 (patch) | |
tree | 7d13934ba33f0aa0b8490bdef01d69c50168e979 /configure.ac | |
parent | 9ea7e6aa638d0dfa14613f6f97e6dc06c857e609 (diff) |
libxtables: Fix unsupported extension warning corner case
Some extensions are not supported in revision 0 by user space anymore,
for those the warning in xtables_compatible_revision() does not print as
no revision 0 is tried.
To fix this, one has to track if none of the user space supported
revisions were accepted by the kernel. Therefore add respective logic to
xtables_find_{target,match}().
Note that this does not lead to duplicated warnings for unsupported
extensions that have a revision 0 because xtables_compatible_revision()
returns true for them to allow for extension's help output.
For the record, these ip6tables extensions are affected: set/SET,
socket, tos/TOS, TPROXY and SNAT. In addition to that, TEE is affected
for both families.
Fixes: 17534cb18ed0a ("Improve error messages for unsupported extensions")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions