diff options
author | Patrick McHardy <kaber@trash.net> | 2008-01-31 04:37:36 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 19:27:52 -0800 |
commit | c52fbb410b2662a7bbc5cbe5969d73c733151498 (patch) | |
tree | d449d642b8004a10fa811ad1d0e2af2225788025 /net/netfilter/nf_conntrack_expect.c | |
parent | 58a3c9bb0c69f8517c2243cd0912b3f87b4f868c (diff) | |
download | op-kernel-dev-c52fbb410b2662a7bbc5cbe5969d73c733151498.zip op-kernel-dev-c52fbb410b2662a7bbc5cbe5969d73c733151498.tar.gz |
[NETFILTER]: nf_conntrack_core: avoid taking nf_conntrack_lock in nf_conntrack_alter_reply
The conntrack is unconfirmed, so we have an exclusive reference, which
means that the write_lock is definitely unneeded. A read_lock used to
be needed for the helper lookup, but since we're using RCU for helpers
now rcu_read_lock is enough.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nf_conntrack_expect.c')
0 files changed, 0 insertions, 0 deletions