diff options
author | Patrick McHardy <kaber@trash.net> | 2007-07-07 22:32:03 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-10 22:17:56 -0700 |
commit | 4e1d4e6c5a448bd114e0cef6311c974cb7c7385e (patch) | |
tree | aa785c5d14b7796de154872a754ae9e25df6650b /fs/inotify_user.c | |
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>
Diffstat (limited to 'fs/inotify_user.c')
0 files changed, 0 insertions, 0 deletions