smbd: cancel pending poll open timer in poll_open_done()
authorRalph Boehme <slow@samba.org>
Wed, 17 Mar 2021 15:24:28 +0000 (16:24 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 31 Mar 2021 09:22:17 +0000 (09:22 +0000)
commit27cd9103dc68bf5a23026eb1be75127f0bc831cd
tree1bb13645bb401f4f680c704ca781186e8ba08ef2
parentf8d67bc3d7d4c2cf1a16a67072fdd097044072dd
smbd: cancel pending poll open timer in poll_open_done()

The retry of the open is scheduled below, avoid rescheduling it a second time in
the open retry timeout function.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14672
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1843

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 171a58ff3e8ee07cf5d7af08eabcb4a7379e7ce5)
source3/smbd/open.c