diff options
author | Michal Feix <michal@feix.cz> | 2006-07-30 03:03:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-31 13:28:39 -0700 |
commit | e4b57e0842621f597d744b193ea325d62724596b (patch) | |
tree | 0cb75aac6d4452d95dfe8ab1931bed45b1246bb9 /block | |
parent | 8e185d83398b2708f50207bc12d0e0a70bd70767 (diff) | |
download | linux-3.10-e4b57e0842621f597d744b193ea325d62724596b.tar.gz linux-3.10-e4b57e0842621f597d744b193ea325d62724596b.tar.bz2 linux-3.10-e4b57e0842621f597d744b193ea325d62724596b.zip |
[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@feix.cz>
Acked-by: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions