diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-10-20 14:13:51 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-10-20 14:13:51 +0200 |
commit | a7c245bafd98a04414903787448ac17bb0922b70 (patch) | |
tree | 752254d650816dd139c7c526a3783d448396a5d0 /src/cache.c | |
parent | 8509a878c0df580b7496c7fd0afd961c4c3c771d (diff) | |
download | conntrack-tools-a7c245bafd98a04414903787448ac17bb0922b70.tar.gz conntrack-tools-a7c245bafd98a04414903787448ac17bb0922b70.zip |
cache-iterators: improve committing
This patches fixes two problems:
- If we failt to update an entry, we remove it and try again. This
happens when we still have an entry in a final state like TIME_WAIT
while we see a new connection (SYN_SENT) with the same tuple. In
this particular case, we fail to update since some status bits are
only settable, but not unsettable.
- If we hit ETIME in an update, we have to go over the creation
patch, otherwise we hit ENOENT in the next run.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/cache.c')
0 files changed, 0 insertions, 0 deletions