• Ion Badulescu's avatar
    [netdrvr starfire] fix highmem and broken firmware issues · 67974231
    Ion Badulescu authored
    Unfortunately, [your patch] might address the crash but doesn't address
    the real problem. It turns out that the problem is one of padding
    (the firmware cksum engine works only on 32-bit chunks, yuck), so
    the special casing for length == 1 wasn't sufficient anyway.
    
    This patch addresses the issue, as well the other issue of i386 +
    CONFIG_HIGHMEM being broken. It is pretty much the same workaround
    that Adaptec themselves used in their Windows driver. I have yet to
    check if it fixes the problem when the skb is non-linear, but this
    patch _will_ solve the problem for 99% of the users out there (those
    not using sendfile).
    Signed-off-by: default avatarIon Badulescu <ionut@badula.org>
    Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
    67974231
starfire.c 65.2 KB