* [PATCH] nf_conntrack: fix error path unwind in nf_conntrack_expect_init()
@ 2008-05-22 15:14 Alexey Dobriyan
2008-05-22 15:18 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2008-05-22 15:14 UTC (permalink / raw)
To: kaber; +Cc: netfilter-devel, devel
Signed-off-by: Alexey Dobriyan <adobriyan@parallels.com>
---
net/netfilter/nf_conntrack_expect.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/net/netfilter/nf_conntrack_expect.c
+++ b/net/netfilter/nf_conntrack_expect.c
@@ -587,10 +587,10 @@ int __init nf_conntrack_expect_init(void)
return 0;
err3:
+ kmem_cache_destroy(nf_ct_expect_cachep);
+err2:
nf_ct_free_hashtable(nf_ct_expect_hash, nf_ct_expect_vmalloc,
nf_ct_expect_hsize);
-err2:
- kmem_cache_destroy(nf_ct_expect_cachep);
err1:
return err;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] nf_conntrack: fix error path unwind in nf_conntrack_expect_init()
2008-05-22 15:14 [PATCH] nf_conntrack: fix error path unwind in nf_conntrack_expect_init() Alexey Dobriyan
@ 2008-05-22 15:18 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2008-05-22 15:18 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: netfilter-devel, devel
Alexey Dobriyan wrote:
> Signed-off-by: Alexey Dobriyan <adobriyan@parallels.com>
> ---
>
> net/netfilter/nf_conntrack_expect.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks Alexey. I'll also push this to -stable.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-22 15:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-22 15:14 [PATCH] nf_conntrack: fix error path unwind in nf_conntrack_expect_init() Alexey Dobriyan
2008-05-22 15:18 ` Patrick McHardy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.