summaryrefslogtreecommitdiff
path: root/net/ipv4/udplite.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-02-21 13:53:57 (GMT)
committerPablo Neira Ayuso <pablo@netfilter.org>2012-02-21 15:25:31 (GMT)
commitaf14cca162ddcdea017b648c21b9b091e4bf1fa4 (patch)
tree1d40e186b7afbd0c7485dd95e1fb6c24174f4d5c /net/ipv4/udplite.c
parent88ba136d6635b262f77cc418d536115fb8e4d4ab (diff)
downloadlinux-af14cca162ddcdea017b648c21b9b091e4bf1fa4.tar.xz
netfilter: ctnetlink: fix soft lockup when netlink adds new entries
Marcell Zambo and Janos Farago noticed and reported that when new conntrack entries are added via netlink and the conntrack table gets full, soft lockup happens. This is because the nf_conntrack_lock is held while nf_conntrack_alloc is called, which is in turn wants to lock nf_conntrack_lock while evicting entries from the full table. The patch fixes the soft lockup with limiting the holding of the nf_conntrack_lock to the minimum, where it's absolutely required. Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/udplite.c')
0 files changed, 0 insertions, 0 deletions