Skip to contentSkip to conversation

Simplify demultiplex thread

PATCH Superseded Pavel Shilovsky 1 participant 1 message Jul 6, 2011

Subsystems (2)

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

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(-)