Commit c88c535
committed
netfilter: nf_tables: disallow element updates of bound anonymous sets
Anonymous sets come with NFT_SET_CONSTANT from userspace. Although API
allows to create anonymous sets without NFT_SET_CONSTANT, it makes no
sense to allow to add and to delete elements for bound anonymous sets.
Fixes: 9651851 ("netfilter: add nftables")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>1 parent d6b4786 commit c88c535
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6779 | 6779 | | |
6780 | 6780 | | |
6781 | 6781 | | |
6782 | | - | |
| 6782 | + | |
| 6783 | + | |
6783 | 6784 | | |
6784 | 6785 | | |
6785 | 6786 | | |
| |||
7053 | 7054 | | |
7054 | 7055 | | |
7055 | 7056 | | |
7056 | | - | |
| 7057 | + | |
| 7058 | + | |
| 7059 | + | |
7057 | 7060 | | |
7058 | 7061 | | |
7059 | 7062 | | |
| |||
0 commit comments