bin/56732: ifconfig fails if interfaces are being created during
it's execution
ari.suutari at syncrontech.com
ari.suutari at syncrontech.com
Fri Sep 12 04:40:17 PDT 2003
>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 at 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:
More information about the freebsd-bugs
mailing list