From: Steve French Date: Tue, 8 Feb 2011 23:52:32 +0000 (+0000) Subject: [CIFS] Do not send SMBEcho requests on new sockets until SMBNegotiate X-Git-Tag: v2.6.38-rc5~28^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e90d705fc9f8c5e3a1549281dce0654d049243b;p=pandora-kernel.git [CIFS] Do not send SMBEcho requests on new sockets until SMBNegotiate In order to determine whether an SMBEcho request can be sent we need to know that the socket is established (server tcpStatus == CifsGood) AND that an SMB NegotiateProtocol has been sent (server maxBuf != 0). Without the second check we can send an Echo request during reconnection before the server can accept it. CC: JG Reviewed-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed