Patch for https://bugzilla.samba.org/show_bug.cgi?id=10706

Jeremy Allison jra at samba.org
Fri Jul 11 11:52:04 MDT 2014


On Fri, Jul 11, 2014 at 02:44:08AM +0200, Stefan (metze) Metzmacher wrote:
> Am 11.07.2014 02:36, schrieb Stefan (metze) Metzmacher:
> > Hi Jeremy,
> > 
> > here's a possible fix for
> > https://bugzilla.samba.org/show_bug.cgi?id=10706
> > SMB2 sendfile fallback doesn't work as expected
> > 
> > I found by looking at the code, so this is not tested yet...

OK, I just tested this by hacking sendfile to
return ENOSYS, and tested the other code path
by hacking sendfile to send the header and
return EINTR.

It all works fine :-).

Pushed - thanks !


More information about the samba-technical mailing list