From: Jeff Layton Date: Fri, 29 Apr 2011 10:52:44 +0000 (-0400) Subject: cifs: handle errors from coalesce_t2 X-Git-Tag: v2.6.39-rc7~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16541ba11c4f04ffe94b073e301f00b749fb84a1;p=pandora-kernel.git cifs: handle errors from coalesce_t2 cifs_demultiplex_thread calls coalesce_t2 to try and merge follow-on t2 responses into the original mid buffer. coalesce_t2 however can return errors, but the caller doesn't handle that situation properly. Fix the thread to treat such a case as it would a malformed packet. Mark the mid as being malformed and issue the callback. Cc: stable@kernel.org Acked-by: David Howells Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed