Date: Fri, 12 Sep 2003 14:30:23 +0300 (EEST) From: ari.suutari@syncrontech.com To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/56732: ifconfig fails if interfaces are being created during it's execution Message-ID: <200309121130.h8CBUNa7018580@guinness.syncrontech.com> Resent-Message-ID: <200309121140.h8CBeGOh039613@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 56732 >Category: bin >Synopsis: ifconfig fails if interfaces are being created during it's execution >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 12 04:40:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Ari Suutari >Release: FreeBSD 4.8-RELEASE i386 >Organization: Syncron Tech Oy >Environment: System: FreeBSD guinness.syncrontech.com 4.8-RELEASE FreeBSD 4.8-RELEASE #9: Mon Apr 7 12:36:25 EEST 2003 root@pommac.syncrontech.com:/usr/obj/usr/src/sys/GUINNESS i386 >Description: ifconfig fails with 'actual retrieval of interface table' when interfaces are being dynamically created at same time when ifconfig executes. This can happen for example when using vtund server, which receives multiple connections during startup (which causes multiple tun devices to be created and ifconfigured at same time). >How-To-Repeat: Run a program that creates network interfaces at same time when you use ifconfig. >Fix: I think that ifconfig should check if sysctl call for interface table returns an error code which means that buffer size was too small and perform call again until buffer is large enough. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309121130.h8CBUNa7018580>