Re: arch/i386/lib/checksum.c bug?

Andi Kleen (ak@muc.de)
Sun, 13 Dec 1998 19:59:43 +0100


In muc.lists.linux-kernel, you wrote:
>On Fri, Dec 11, 1998 at 05:49:59AM -0700, Colin Plumb wrote:
>> But the bug: if the destination copy faults, won't the zeroing loop
>> fault, too? And since there's no exception table pointer, it'll oops.
>> Which is usually regarded as a bug?
>
>Yes it's a bug, but not one that bites yet.
>
>It can only happen with copying to user space, and as
><asm-i386/checksum.h> says: "This combination is currently not used, but
>possible".

It is possible. See the (commented out) CONFIG_UDP_DELAY_CSUM option
in net/ipv4/udp.c, which implements single copy-csum UDP receiving.

It is already fixed.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/