[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181012233517.GA21784@vader>
Date: Fri, 12 Oct 2018 16:35:17 -0700
From: Omar Sandoval <osandov@...ndov.com>
To: Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>,
Florian Westphal <fw@...len.de>
Cc: "David S. Miller" <davem@...emloft.net>,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
netdev@...r.kernel.org, kernel-team@...com
Subject: Re: [PATCH] netfilter: x_tables: fix missing unlock if table init
fails
On Fri, Oct 12, 2018 at 04:16:53PM -0700, Omar Sandoval wrote:
> From: Omar Sandoval <osandov@...com>
>
> Commit 7dde07e9c536 ("netfilter: x_tables: unlock on error in
> xt_find_table_lock()") fixed one missing unlock in xt_find_table_lock(),
> but we're also missing one if t->table_init() fails.
>
> Fixes: b9e69e127397 ("netfilter: xtables: don't hook tables by default")
> Signed-off-by: Omar Sandoval <osandov@...com>
Whoops, please ignore this, I missed the unlock right before the
table_init call...
Powered by blists - more mailing lists