Subject: Re: iproute uses too small of a receive buffer

From: Eric Dumazet <[email-masked]>
Date: Wed, 28 Oct 2009 08:52:57 +0100

Stephen Hemminger a écrit :
> 
> Just having larger buffer isn't guarantee of success. Allocating
> a huge buffer is not going to work on embedded.
> 

Please note we do not allocate a big buffer, only allow more small skbs
to be queued on socket receive queue.

If memory is not available, skb allocation will eventually fail
and be reported as well, embedded or not.

I vote for allowing 1024*1024 bytes instead of 32768,
and eventually user should be warned that it is capped by 
/proc/sys/net/core/rmem_max

> Why not have it continue after one error.

Yes, but caller of 'ip monitor' just restart it anyway