]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: fix unexpected EOPNOTSUPP error
authorFernando Fernandez Mancera <ffmancera@riseup.net>
Sat, 2 Nov 2019 20:59:44 +0000 (21:59 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 4 Nov 2019 19:58:33 +0000 (20:58 +0100)
commit9f2ae1f4a19055ec8083591ea5a5266117c51972
treef7110b7271b6fb6a809ac0a3ebc75399db579af5
parentdbe442e93814643be2257afc829b7c90f616f078
netfilter: nf_tables: fix unexpected EOPNOTSUPP error

If the object type doesn't implement an update operation and the user tries to
update it will silently ignore the update operation.

Fixes: a598ecc79182 ("netfilter: nf_tables: fix possible null-pointer dereference in object update")
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c