diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-04-25 16:50:32 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-05-03 08:24:31 +0200 |
commit | 8509f62b0b07ae8d6dec5aa9613ab1b250ff632f (patch) | |
tree | f369ac1aad76775b20be4227a646fe9e0d8b4999 /net/tipc/bearer.c | |
parent | c6d96df9fa2c1d19525239d4262889cce594ce6c (diff) |
netfilter: nf_tables: hit ENOENT on unexisting chain/flowtable update with missing attributes
If user does not specify hook number and priority, then assume this is
a chain/flowtable update. Therefore, report ENOENT which provides a
better hint than EINVAL. Set on extended netlink error report to refer
to the chain name.
Fixes: 5b6743fb2c2a ("netfilter: nf_tables: skip flowtable hooknum and priority on device updates")
Fixes: 5efe72698a97 ("netfilter: nf_tables: support for adding new devices to an existing netdev chain")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/tipc/bearer.c')
0 files changed, 0 insertions, 0 deletions