Re: [stable] [PATCH] cifs: fix wsize negotiation for 2.6.39 stable

From: Greg KH
Date: Tue Jul 12 2011 - 22:29:02 EST


On Tue, Jul 12, 2011 at 09:24:41PM -0400, Jeff Layton wrote:
> I sent this a week or so ago, but it apparently missed the recent
> 2.6.39.y release. Resending to make sure it gets into the next one.
>
> Prior to 2.6.39, when signing was enabled on a socket the client only
> sent single-page writes. This changed with commit ca83ce3d5b, which
> made signed and unsigned connections use the same codepaths for write
> calls.
>
> This caused a regression when working with windows servers. Windows
> machines will reject writes larger than the MaxBufferSize when signing
> is active, but does not clear the CAP_LARGE_WRITE_X flag in the
> negotiation.
>
> This patch backports 2 patches that fix this problem in 3.0 kernels,
> and changes a couple of the constants to values appropriate for the
> writeback code in 2.6.39.

Why not just tell me the 2 patches in upstream that need to be
backported as Documentation/stable_kernel_rules.txt say to do instead?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/