smbd panic at find_oplock_types().

Jeremy Allison jra at samba.org
Thu Sep 11 14:41:42 MDT 2014


On Tue, Sep 09, 2014 at 01:12:35PM +0200, Volker Lendecke wrote:
> Remember that INTERNAL_OPEN_ONLY has the effect that this request will
> never be deferred. For me that's the main use of this flag: Not all
> callers are prepared to handle open_was_deferred. We need an indication
> to open_file_ntcreate to never defer a call. Or even better, we need to
> replace the existing deferral mechanism with a tevent_req based design,
> but that's certainly a future project.
> 
> What about the attached patch? This fixes batch26. I haven't
> run an autobuild yet, starting that in a minute.

Works well for me and after fully reviewing I think it's
the correct fix.

Volker, can you confirm you're happy with the following
(updated commit message) and Hemmenth's test case and
I'll push once he's given me a 'Signed-off-by' version.

Cheers,

	Jeremy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-smbd-streams-Ensure-share-mode-validation-ignores.patch
Type: text/x-diff
Size: 1269 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140911/18377d80/attachment.patch>


More information about the samba-technical mailing list