diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-04-06 17:47:20 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-04-06 17:47:20 +0200 |
commit | 83731671d9e6878c0a05d309c68fb71c16d3235a (patch) | |
tree | e74df7769d32c4aad6a080796f32a7e09009a7ae /crypto/blowfish.c | |
parent | netfilter: fix selection of "LED" target in netfilter (diff) | |
download | linux-83731671d9e6878c0a05d309c68fb71c16d3235a.tar.xz linux-83731671d9e6878c0a05d309c68fb71c16d3235a.zip |
netfilter: ctnetlink: fix regression in expectation handling
This patch fixes a regression (introduced by myself in commit 19abb7b:
netfilter: ctnetlink: deliver events for conntracks changed from
userspace) that results in an expectation re-insertion since
__nf_ct_expect_check() may return 0 for expectation timer refreshing.
This patch also removes a unnecessary refcount bump that
pretended to avoid a possible race condition with event delivery
and expectation timers (as said, not needed since we hold a
reference to the object since until we finish the expectation
setup). This also merges nf_ct_expect_related_report() and
nf_ct_expect_related() which look basically the same.
Reported-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'crypto/blowfish.c')
0 files changed, 0 insertions, 0 deletions