From: Jeff Layton Date: Wed, 3 Apr 2013 15:55:03 +0000 (-0400) Subject: cifs: store the real expected sequence number in the mid X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~27^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0124cc45113f93b52c76589dc596a026917859bb;p=pandora-kernel.git cifs: store the real expected sequence number in the mid Currently, the signing routines take a pointer to a place to store the expected sequence number for the mid response. It then stores a value that's one below what that sequence number should be, and then adds one to it when verifying the signature on the response. Increment the sequence number before storing the value in the mid, and eliminate the "+1" when checking the signature. Signed-off-by: Jeff Layton Signed-off-by: Steve French Signed-off-by: Steve French --- Reading git-diff-tree failed