https://github.com/torvalds/linux
Revision d243af7ab9feb49f11f2c0050d2077e2d9556f9b authored by Pavel Shilovsky on 06 November 2019, 21:58:15 UTC, committed by Steve French on 07 November 2019, 03:32:18 UTC
When the client hits a network reconnect, it re-opens every open
file with a create context to reconnect a persistent handle. All
create context types should be 8-bytes aligned but the padding
was missed for that one. As a result, some servers don't allow
us to reconnect handles and return an error. The problem occurs
when the problematic context is not at the end of the create
request packet. Fix this by adding a proper padding at the end
of the reconnect persistent handle context.

Cc: Stable <stable@vger.kernel.org> # 4.19.x
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent a99d808
History
Tip revision: d243af7ab9feb49f11f2c0050d2077e2d9556f9b authored by Pavel Shilovsky on 06 November 2019, 21:58:15 UTC
SMB3: Fix persistent handles reconnect
Tip revision: d243af7

back to top