From: Michal Feix Date: Sun, 30 Jul 2006 10:03:31 +0000 (-0700) Subject: [PATCH] nbd: Check magic before doing anything else X-Git-Tag: v2.6.18-rc4~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4b57e0842621f597d744b193ea325d62724596b;p=pandora-kernel.git [PATCH] nbd: Check magic before doing anything else We should check magic sequence in reply packet before trying to find request with it's request handle. This also solves the problem with "Unexpected reply" message beeing logged, when packet with invalid magic is received. Signed-off-by: Michal Feix Acked-by: Paul Clements Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed