diff options
author | Jeremy Allison <jra@samba.org> | 1998-12-17 21:41:28 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-12-17 21:41:28 +0000 |
commit | 3e7039349fa79cc16cd3a2ece79b63b0fffbb616 (patch) | |
tree | 604dd3f79eb5ad7378662e977e5df4b9ea5d51c5 /source3/nmbd/nmbd_responserecordsdb.c | |
parent | d973a107a2edac5ee2874eb6fdc005b9d32be379 (diff) | |
download | samba-3e7039349fa79cc16cd3a2ece79b63b0fffbb616.tar.gz samba-3e7039349fa79cc16cd3a2ece79b63b0fffbb616.tar.bz2 samba-3e7039349fa79cc16cd3a2ece79b63b0fffbb616.zip |
Fix bug with nmbd running wild due to recursion in retransmit_or_expire_response_records().
Jeremy.
(This used to be commit d5f05b4faef50e7cfc0ed05a87d92e14102106c6)
Diffstat (limited to 'source3/nmbd/nmbd_responserecordsdb.c')
-rw-r--r-- | source3/nmbd/nmbd_responserecordsdb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd_responserecordsdb.c b/source3/nmbd/nmbd_responserecordsdb.c index 3edca69981..0c698760bb 100644 --- a/source3/nmbd/nmbd_responserecordsdb.c +++ b/source3/nmbd/nmbd_responserecordsdb.c @@ -172,6 +172,9 @@ struct response_record *make_response_record( struct subnet_record *subrec, rrec->repeat_count = 3; /* 3 retries */ rrec->repeat_time = time(NULL) + rrec->repeat_interval; /* initial retry time */ + /* This packet is not being processed. */ + rrec->in_expiration_processing = False; + /* Lock the packet so we won't lose it while it's on the list. */ p->locked = True; |