summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_timer.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2004-09-02 10:08:40 -0700
committerPatrick McHardy <kaber@trash.net>2004-09-02 10:08:40 -0700
commit7cd101a51b34e2cfe1f93543937a54f0dadc2cc2 (patch)
treea7c2b336136cafa2942b18d34de5133316c342e6 /net/ipv4/tcp_timer.c
parent3c9df440395f71ab8d44aa2ff2bd1f590f052a48 (diff)
[NETFILTER]: Fix deadlock condition in conntrack/nat-helpers
There is a possible deadlock condition with conntrack/nat-helpers: CPU1: conntrack-helper:help: lock(private_lock) ip_conntrack_expect_related: write_lock(ip_conntrack_lock) CPU2: nat-core:do_bindings: read_lock(ip_conntrack_lock) nat-helper:help: lock(private_lock) The lock in the nat-helper is unneccessary because the expectation is never changed and is protected by ip_conntrack_lock. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions