]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commit
iproute uses too small of a receive buffer
authorPatrick McHardy <kaber@trash.net>
Wed, 28 Oct 2009 19:50:48 +0000 (20:50 +0100)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Tue, 10 Nov 2009 17:14:33 +0000 (09:14 -0800)
commit7f03191fda39ff09640f093b7ad84f461ffd65b2
tree05ef5eae2a1f6fe80fecfbbd5e31594e1f05239a
parent24f38182441868f27aec03e82105eb008127e879
iproute uses too small of a receive buffer

It uses 1MB as receive buf limit by default (without
increasing /proc/sys/net/core/rmem_max it will be limited by less
however) and allows to specify the size manually using "-rcvbuf X"
(-r is already used, so you need to specify at least -rc).

Additionally rtnl_listen() continues on ENOBUFS after printing the
error message.
include/libnetlink.h
ip/ip.c
lib/libnetlink.c