Re: select()/socket has problems under 2.2.x.

Jes Sorensen (Jes.Sorensen@cern.ch)
06 Mar 1999 19:08:39 +0100


>>>>> "Andi" == Andi Kleen <ak@muc.de> writes:

Andi> Which allows a DOS - the receiver could overrun the socket
Andi> buffer easily. Better make sure that rcvbuf is never <
Andi> skb->truesize (which has the advantage that it doesn't cost
Andi> anything in critical paths too). Best would be to make sure that
Andi> the rcvbuf of every socket is always > maxmtu_of_devices + skb
Andi> header size, but that is impractical. I think 4096 is good
Andi> minimum value and the ATM and HIPPIE people can tune it.

4K is too small for FDDI as well.

Jes

-
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/