]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fix aoe without scatter-gather [Bug 7662]
authorEd L. Cashin <ecashin@coraid.com>
Fri, 22 Dec 2006 09:09:21 +0000 (01:09 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 22 Dec 2006 16:55:49 +0000 (08:55 -0800)
commit906f9ac914fb45bce2b036f5bb727dfd62b48889
treee8563f7147955a435012ade82837395f5fc84897
parent06b292ddc1b735dd8d435fd94a56b81f84b1f22f
[PATCH] fix aoe without scatter-gather [Bug 7662]

Fix a bug that only appears when AoE goes over a network card that does not
support scatter-gather.  The headers in the linear part of the skb appeared
to be larger than they really were, resulting in data that was offset by 24
bytes.

This patch eliminates the offset data on cards that don't support
scatter-gather or have had scatter-gather turned off.  There remains an
unrelated issue that I'll address in a separate email.

Fixes bugzilla #7662

Signed-off-by: "Ed L. Cashin" <ecashin@coraid.com>
Cc: <stable@kernel.org>
Cc: Greg KH <greg@kroah.com>
Cc: <boddingt@optusnet.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/aoe/aoecmd.c