netfilter: nftables: extend error reporting for chain updates
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 12 Oct 2020 14:54:30 +0000 (16:54 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 12 Oct 2020 14:54:30 +0000 (16:54 +0200)
commit98a381a7d4892dd9969d24433a4bca2f45092643
tree52e9883d92561ebbd6ae73b5f728b05813a88625
parent7980d2eabde82be86c5be18aa3d07e88ec13c6a1
netfilter: nftables: extend error reporting for chain updates

The initial support for netlink extended ACK is missing the chain update
path, which results in misleading error reporting in case of EEXIST.

Fixes 36dd1bcc07e5 ("netfilter: nf_tables: initial support for extended ACK reporting")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c