diff options
-rw-r--r-- | net/netfilter/xt_hashlimit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_hashlimit.c b/net/netfilter/xt_hashlimit.c index aa96027f4418..66f5aca62a08 100644 --- a/net/netfilter/xt_hashlimit.c +++ b/net/netfilter/xt_hashlimit.c | |||
@@ -775,7 +775,7 @@ hashlimit_mt_common(const struct sk_buff *skb, struct xt_action_param *par, | |||
775 | if (!dh->rateinfo.prev_window && | 775 | if (!dh->rateinfo.prev_window && |
776 | (dh->rateinfo.current_rate <= dh->rateinfo.burst)) { | 776 | (dh->rateinfo.current_rate <= dh->rateinfo.burst)) { |
777 | spin_unlock(&dh->lock); | 777 | spin_unlock(&dh->lock); |
778 | rcu_read_unlock_bh(); | 778 | local_bh_enable(); |
779 | return !(cfg->mode & XT_HASHLIMIT_INVERT); | 779 | return !(cfg->mode & XT_HASHLIMIT_INVERT); |
780 | } else { | 780 | } else { |
781 | goto overlimit; | 781 | goto overlimit; |