]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: disallow updates of implicit chain
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 21 Aug 2022 08:28:25 +0000 (10:28 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 24 Aug 2022 05:43:20 +0000 (07:43 +0200)
commit91987f389130873d0254d4ba984af2c7e22e1f32
tree0e226ba90374d9daa0ed10e0ffcf1329ca7c44d2
parenta0fd136278fcd4d3248abd399c047b1460329b38
netfilter: nf_tables: disallow updates of implicit chain

Updates on existing implicit chain make no sense, disallow this.

Fixes: 2afcd17bdf11 ("netfilter: nf_tables: add NFT_CHAIN_BINDING")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c