Commit d17406d
committed
netfilter: nf_tables: tighten netlink attribute requirements for catch-all elements
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2189550
Upstream Status: commit d4eb7e3
commit d4eb7e3
Author: Pablo Neira Ayuso <[email protected]>
Date: Mon Apr 17 17:50:28 2023 +0200
netfilter: nf_tables: tighten netlink attribute requirements for catch-all elements
If NFT_SET_ELEM_CATCHALL is set on, then userspace provides no set element
key. Otherwise, bail out with -EINVAL.
Fixes: aaa3104 ("netfilter: nftables: add catch-all set element support")
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>1 parent 39bf804 commit d17406d
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5921 | 5921 | | |
5922 | 5922 | | |
5923 | 5923 | | |
5924 | | - | |
| 5924 | + | |
| 5925 | + | |
5925 | 5926 | | |
5926 | 5927 | | |
5927 | 5928 | | |
| |||
0 commit comments