diff options
author | Eric Dumazet <edumazet@google.com> | 2018-02-12 08:11:48 -0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-02-16 15:00:55 +0100 |
commit | de526f401284e1638d4c97cb5a4c292ac3f37655 (patch) | |
tree | adce3258de97f6e996bc6abddcb70f961db5bba8 /net/netfilter/xt_nfacct.c | |
parent | netfilter: nat: cope with negative port range (diff) | |
download | linux-dev-de526f401284e1638d4c97cb5a4c292ac3f37655.tar.xz linux-dev-de526f401284e1638d4c97cb5a4c292ac3f37655.zip |
netfilter: xt_hashlimit: fix lock imbalance
syszkaller found that rcu was not held in hashlimit_mt_common()
We only need to enable BH at this point.
Fixes: bea74641e378 ("netfilter: xt_hashlimit: add rate match mode")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: syzkaller <syzkaller@googlegroups.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/xt_nfacct.c')
0 files changed, 0 insertions, 0 deletions