1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00
Andrew Bartlett 95b08d103d s3: nmbd: Stop nmbd network announce storm.
Correct fix for. On announce, work->lastannounce_time is set
to current time t, so we must check that 't >= work->lastannounce_time',
not 't > work->lastannounce_time' otherwise we end up not
doing the comparison, and always doing the announce.

Reported by Reuben Farrelly

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13620

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Revviewe-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 1d1cd28adaba691ba434a47031fb52ff8887c728)

Autobuild-User(v4-9-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-9-test): Fri Sep 21 12:15:13 CEST 2018 on sn-devel-144
2018-09-21 12:15:13 +02:00
..
2015-10-13 01:23:07 +02:00
2016-12-11 11:17:24 +01:00
2016-12-11 11:17:24 +01:00
2016-12-11 11:17:24 +01:00
2016-12-11 11:17:24 +01:00
2016-12-11 11:17:24 +01:00
2017-02-22 08:26:22 +01:00
2018-04-11 01:06:39 +02:00
2016-12-11 11:17:24 +01:00