[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <44BA39E5.7060002@feix.cz>
Date: Sun, 16 Jul 2006 15:06:45 +0200
From: Michal Feix <michal@...x.cz>
To: Paul.Clements@...eleye.com
CC: linux-kernel@...r.kernel.org
Subject: [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 <michal@...x.cz>
---
View attachment "nbd.c.magic-check.diff" of type "text/plain" (1083 bytes)
Powered by blists - more mailing lists