diff options
author | 2023-01-19 15:51:25 +0800 | |
---|---|---|
committer | 2023-02-01 12:18:51 +0100 | |
commit | 1fb7696ac6c3ac470dd002e639af80e7e170b25f (patch) | |
tree | 71942f76c94f81111dd3ac610f460bf023f48333 /lib/interval_tree_test.c | |
parent | netfilter: nf_tables: NULL pointer dereference in nf_tables_updobj() (diff) | |
download | linux-rng-1fb7696ac6c3ac470dd002e639af80e7e170b25f.tar.xz linux-rng-1fb7696ac6c3ac470dd002e639af80e7e170b25f.zip |
netfilter: nf_tables: fix wrong pointer passed to PTR_ERR()
It should be 'chain' passed to PTR_ERR() in the error path
after calling nft_chain_lookup() in nf_tables_delrule().
Fixes: f80a612dd77c ("netfilter: nf_tables: add support to destroy operation")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'lib/interval_tree_test.c')
0 files changed, 0 insertions, 0 deletions