[Samba] The connection would be broken when read rate is too big

Stefan Metzmacher metze at samba.org
Fri Mar 3 07:35:07 UTC 2017


Hi Jeremy,

> Here's the official patch to the bug I logged:
> 
> https://bugzilla.samba.org/show_bug.cgi?id=12608
> 
> I managed to reproduce locally by
> setting aio read size = 1 and then mangling smbd_smb2_request_next_incoming()
> to block any reads if there were any outgoing entries
> in the queue - but it wasn't reliably reproducible or easily
> tested. If you can think of a good way to add a reliable
> regression test I'd be happy to review, but I think the
> patch is good on its own.
> 
> Please review and push if happy.

Looks good! Thanks!

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170303/9c7aeac6/signature.sig>


More information about the samba-technical mailing list