• Ed L. Cashin's avatar
    [PATCH] fix aoe without scatter-gather [Bug 7662] · 19900cde
    Ed L. Cashin authored
    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: default avatar"Ed L. Cashin" <ecashin@coraid.com>
    Cc: <stable@kernel.org>
    Cc: Greg KH <greg@kroah.com>
    Cc: <boddingt@optusnet.com.au>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    19900cde
aoecmd.c 17.5 KB