lkml.org 
[lkml]   [1999]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: select()/socket has problems under 2.2.x.
From
Date
>>>>> "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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.057 / U:0.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site