From 3e7039349fa79cc16cd3a2ece79b63b0fffbb616 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 17 Dec 1998 21:41:28 +0000 Subject: Fix bug with nmbd running wild due to recursion in retransmit_or_expire_response_records(). Jeremy. (This used to be commit d5f05b4faef50e7cfc0ed05a87d92e14102106c6) --- source3/nmbd/nmbd_responserecordsdb.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/nmbd/nmbd_responserecordsdb.c') 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; -- cgit