Simplify demultiplex thread
Subsystems (2)
v3 cover Simplify demultiplex thread
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 3rd version of the patchset that includes bufixes for patch #4.
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 | 630 ++++++++++++++++++++++++++++------------------------- 1 files changed, 331 insertions(+), 299 deletions(-)