]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit19900cdee29c812857ce938ab449e1053d516252
treee8563f7147955a435012ade82837395f5fc84897
parent58637ec90b7ceed5909e726ac90118852f79d2b1
[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