Thread (2 messages) flat view 2 messages, 1 author, 2018-10-13

Re: [PATCH] netfilter: x_tables: fix missing unlock if table init fails

From: Omar Sandoval <osandov@osandov.com>
Date: 2018-10-13 07:10:04
Also in: netfilter-devel

On Fri, Oct 12, 2018 at 04:16:53PM -0700, Omar Sandoval wrote:
From: Omar Sandoval <redacted>

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 <redacted>
Whoops, please ignore this, I missed the unlock right before the
table_init call...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help