netfilter: nf_tables: missing extended netlink error in lookup functions
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 22 Aug 2023 17:11:17 +0000 (19:11 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 28 Sep 2023 14:25:42 +0000 (16:25 +0200)
commitaee1f692bfeda9e5c3a40cbc165d80de0ffb0879
tree703e5e494daf01f4d473fe534a0faec982f8eb4f
parent117e149e26d193467a3a136aa4393d32a3e7046f
netfilter: nf_tables: missing extended netlink error in lookup functions

Set netlink extended error reporting for several lookup functions which
allows userspace to infer what is the error cause.

Reported-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/nf_tables_api.c