mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-04-13 09:59:31 +00:00
netfilter: nfnetlink: Report extack policy errors for batched ops
The nftables batch processing does not currently populate extack with policy errors. Fix this by passing extack when parsing batch messages. Signed-off-by: Donald Hunter <donald.hunter@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
544070db6c
commit
3f54959628
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ replay_abort:
|
|||
err = nla_parse_deprecated(cda,
|
||||
ss->cb[cb_id].attr_count,
|
||||
attr, attrlen,
|
||||
ss->cb[cb_id].policy, NULL);
|
||||
ss->cb[cb_id].policy, &extack);
|
||||
if (err < 0)
|
||||
goto ack;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue