This patchset is going to make demultiplex code smaller and let us intergrate SMB2 protocol support easier further. I successfully tested it with Connectathon Testsuites and two parallel mount/umount scripts. This is the 4rd version of the patchset that includes minor changes for patch #1. Pavel Shilovsky (5): CIFS: Move buffer allocation to a separate function CIFS: Simplify socket reading in demultiplex thread CIFS: Move RFC1002 check to a separate function CIFS: Move mid search to a separate function CIFS: Cleanup demupltiplex thread exiting code fs/cifs/connect.c | 653 ++++++++++++++++++++++++++++------------------------- 1 files changed, 346 insertions(+), 307 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html