aboutsummaryrefslogtreecommitdiff
path: root/net/netfilter/nf_conntrack_proto.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-07-07 22:32:03 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-10 22:17:56 -0700
commit4e1d4e6c5a448bd114e0cef6311c974cb7c7385e (patch)
treeaa785c5d14b7796de154872a754ae9e25df6650b /net/netfilter/nf_conntrack_proto.c
parentd4156e8cd93f5772483928aaf4960120caebd789 (diff)
[NETFILTER]: nf_conntrack_expect: avoid useless list walking
Don't walk the list when unexpecting an expectation, we already have a reference and the timer check is enough to guarantee that it still is on the list. This comment suggests that it was copied there by mistake from expectation eviction: /* choose the oldest expectation to evict */ Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nf_conntrack_proto.c')
0 files changed, 0 insertions, 0 deletions