diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-10-17 14:12:58 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-10-19 08:46:48 +0200 |
commit | 96df8360dbb435cc69f7c3c8db44bf8b1c24cd7b (patch) | |
tree | a83438e79fe29c1560bb1a363002b3e4b441f1c6 /block/blk-zoned.c | |
parent | 1fcc064b305a1aadeff0d4bff961094d27660acd (diff) | |
download | linux-96df8360dbb435cc69f7c3c8db44bf8b1c24cd7b.tar.bz2 |
netfilter: nf_tables: relax NFTA_SET_ELEM_KEY_END set flags requirements
Otherwise EINVAL is bogusly reported to userspace when deleting a set
element. NFTA_SET_ELEM_KEY_END does not need to be set in case of:
- insertion: if not present, start key is used as end key.
- deletion: only start key needs to be specified, end key is ignored.
Hence, relax the sanity check.
Fixes: 88cccd908d51 ("netfilter: nf_tables: NFTA_SET_ELEM_KEY_END requires concat and interval flags")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'block/blk-zoned.c')
0 files changed, 0 insertions, 0 deletions