[PATCH] Fix bug #11375 - ordering issue in teardown in server exit.

Jeremy Allison jra at samba.org
Tue Nov 24 23:36:07 UTC 2015

On Tue, Nov 24, 2015 at 10:09:39PM +0100, Stefan Metzmacher wrote:
> smbXsrv_session_logoff() sets session->table = NULL;
> and should exit immediately the 2nd time.
> Am I missing something?
> This can only explained if it's NOT called twice,
> but the first time AFTER sconn is already gone.

Yes, you're right. It must be the first call
after sconn is deleted.

> A wild guess, could we have a bug in dbwrap_rbt traverse?
> That may skip entries randomly?

That's a tricky recursive function. Maybe.
I'll take a close look....

More information about the samba-technical mailing list