From: Oliver Neukum Subject: Re: cannot set IP for ethernet Date: Wed, 13 Jun 2007 10:39:31 +0200 Message-ID: <200706131039.32011.oliver@neukum.org> References: <200706121441.13561.oliver@neukum.org> <466EA861.2070509@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, Linux Netdev List , Herbert Xu To: Patrick McHardy Return-path: In-Reply-To: <466EA861.2070509@trash.net> Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Am Dienstag, 12. Juni 2007 schrieb Patrick McHardy: > Oliver Neukum wrote: > > with 2.6.22-rc4-git2 I am getting errors when setting IP for ethernet > > interfaces: > > > > ioctl(4, SIOCSIFADDR, 0x7fff94931600) = -1 ENOBUFS (No buffer space available) > > > > The error is independant of the interface. It happens to all interfaces. > > There's nothing in the syslog. > > > > valisk:/home/oliver # uname -a > > Linux valisk 2.6.22-rc4-git2-default #3 SMP Tue Jun 12 13:27:54 CEST 2007 x86_64 x86_64 x86_64 GNU/Linux > > > This can happen if the initial inetdev allocation when the netdevice is > registered fails. I think it would make sense to try to allocate again > when adding addresses in that case, otherwise there is no way of > recovery other than unregistering and registering the device again. With your patch the problem has gone away. Is there a way to especially stress the system in that regard? Regards Oliver