Recent change in tcp_output.c is surely wrong

Jamie Lokier lkd en tantalophile.demon.co.uk
Jue Ene 20 12:30:52 CST 2000


Jesse Pollard wrote:
> I did modify the program slightly:
> 
> #define INT_TYPE        unsigned short
> #define BITS (sizeof(INT_TYPE)*8-1)

You could also illustrate the problem which started this discussion,
using `(tp->ato << 1) >> 1' to clear the top bit of a `u32', by setting
INT_TYPE to a 32 bit wide unsigned type, the initial value to
`(INT_TYPE) 1 << 31', and BITS to 1.

thanks,
-- Jamie

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



Más información sobre la lista de distribución Ayuda