oplock_break_level2 with unlocked share enty?

Jeremy Allison jra at samba.org
Tue Jan 25 21:33:26 GMT 2005


On Tue, Jan 25, 2005 at 09:12:16PM +0200, Nadav Danieli wrote:
> Hi All,
> 
> I appears that when breaking our own oplock, oplock level II may be
> removed while the share entry is unlocked.
> Trace is as follow:
> 
> oplock_break_level2
> smbd/oplock.c:647
> oplock_break
> smbd/oplock.c:722
> request_oplock_break
> smbd/oplock.c:994
> open_mode_check
> smbd/open.c:668

Yes, I've confirmed this is a logic bug. I'll fix it for 3.0.11 proper.
What version of Samba are you running ? I'll send you a point patch.

Thanks a *lot* for finding this !

Jeremy.


More information about the samba-technical mailing list