Eric Dumazet eaa72dc474 neigh: increase queue_len_bytes to match wmem_default
Florian reported UDP xmit drops that could be root caused to the
too small neigh limit.

Current limit is 64 KB, meaning that even a single UDP socket would hit
it, since its default sk_sndbuf comes from net.core.wmem_default
(~212992 bytes on 64bit arches).

Once ARP/ND resolution is in progress, we should allow a little more
packets to be queued, at least for one producer.

Once neigh arp_queue is filled, a rogue socket should hit its sk_sndbuf
limit and either block in sendmsg() or return -EAGAIN.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-29 16:10:50 -07:00
..
2017-06-15 12:12:40 -04:00
2017-07-31 14:37:50 -07:00
2017-07-31 14:37:49 -07:00
2017-07-31 14:37:50 -07:00
2017-08-25 17:22:01 -07:00
2017-08-22 14:27:18 -07:00
2017-02-15 11:04:11 +01:00
2017-01-10 10:57:12 +01:00