commit | 4e1d4e6c5a448bd114e0cef6311c974cb7c7385e | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Sat Jul 07 22:32:03 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Jul 10 22:17:56 2007 -0700 |
tree | aa785c5d14b7796de154872a754ae9e25df6650b | |
parent | d4156e8cd93f5772483928aaf4960120caebd789 [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>