summaryrefslogtreecommitdiffstats
path: root/iptables/nft-shared.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-02-11 17:39:24 +0100
committerPhil Sutter <phil@nwl.cc>2022-03-02 21:18:15 +0100
commit2dbb49d15fb44ddd521a734eca3be3f940b7c1ba (patch)
treebb0e708bed35e690306ca8064cf8514dec710da3 /iptables/nft-shared.h
parent07e2107ef0cbc1b81864c3c0f0ef297a9dfff44d (diff)
libxtables: Register only the highest revision extension
When fully registering extensions, ignore all consecutive ones with same name and family value. Since commit b3ac87038f4e4 ("libxtables: Make sure extensions register in revision order"), one may safely assume the list of pending extensions has highest revision numbers first. Since iptables is only interested in the highest revision the kernel supports, registration and compatibility checks may be skipped once the first matching extension in pending list has validated. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft-shared.h')
0 files changed, 0 insertions, 0 deletions