diff options
author | Phil Sutter <phil@nwl.cc> | 2023-07-21 13:14:36 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-07-28 11:32:35 +0200 |
commit | 10583537004f7ecd4aa11f6c12b7ba73fb77fc11 (patch) | |
tree | 3fc6cecb09e7507e1918dddec21b85ad7a301988 /iptables/nft.c | |
parent | 2746726e03d9017d4c940a247590f8d5c5d5a73e (diff) |
nft: Special casing for among match in compare_matches()
When other extensions may have "garbage" appended to their data which
should not be considered for match comparison, among match is the
opposite in that it extends its data beyond the value in 'size' field.
Add special casing to cover for this, avoiding false-positive rule
comparison.
Fixes: 26753888720d8 ("nft: bridge: Rudimental among extension support")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/nft.c')
0 files changed, 0 insertions, 0 deletions