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)
commit9fedd894b4e1c7ad5e5f711899f6a0a1da01d996
treef7110b7271b6fb6a809ac0a3ebc75399db579af5
parent250367c59e6ba0d79d702a059712d66edacd4a1a
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: aa4095a156b5 ("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