xt_hashlimit: fix locking
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 17 Feb 2010 06:43:47 +0000 (06:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 21:27:11 +0000 (13:27 -0800)
commit8a5ce54562f296b1996813a413b0f2307ec9351a
tree7b61599a7adc3d050e9ca1cbe89211088addbe0c
parent9f0beba9f90847db7ba6ed894f7c87b6038a5bce
xt_hashlimit: fix locking

Commit 2eff25c18c3d332d3c4dd98f2ac9b7114e9771b0
(netfilter: xt_hashlimit: fix race condition and simplify locking)
added a mutex deadlock :
htable_create() is called with hashlimit_mutex already locked

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_hashlimit.c