Commit 6f6e9c9
committed
netfilter: nf_tables: fix wrong pointer passed to PTR_ERR()
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1925492
Upstream Status: commit 1fb7696
commit 1fb7696
Author: Yang Yingliang <[email protected]>
Date: Thu Jan 19 15:51:25 2023 +0800
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: f80a612 ("netfilter: nf_tables: add support to destroy operation")
Signed-off-by: Yang Yingliang <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Acked-by: Fernando Fernandez Mancera <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Signed-off-by: Phil Sutter <[email protected]>1 parent f6dad62 commit 6f6e9c9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3652 | 3652 | | |
3653 | 3653 | | |
3654 | 3654 | | |
3655 | | - | |
| 3655 | + | |
3656 | 3656 | | |
3657 | 3657 | | |
3658 | 3658 | | |
| |||
0 commit comments