tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rbuf starvation in the iwn driver



On Sat, Apr 10, 2010 at 12:49:48PM +1000, matthew green wrote:
> 
> would you try this variant?  it handles the case where MEXTMALLOC()
> would fail to allocate external storage, and seems to work on my 
> iwn(4).  i'll commit this if you confirm it works.

Is there any reason not to replace the implementation of
iwn_alloc_rbuf() with MEXTMALLOC(), instead?

Previously, a remote host could exhaust an iwn(4)'s private Rx buffer
pool by, say, sending a ton of tiny segments to TCP sockets that already
have a long backlog.  Can a remote host now deplete the malloc(9) pool
in the same way?

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933


Home | Main Index | Thread Index | Old Index