On Wed, 2008-10-01 at 10:20 -0400, Sebastien Roy wrote:
> In testing the fix for the last open IP Observability bug, I ran into a
> deadlock situation that has befuddled me for the past day. The
> situation is as follows:
...
> # ifconfig bge0 inet6 plumb
>
> This command hangs. In the kernel, the ifconfig thread is in the
> process of completing the SIOCSLIFNAME ioctl, but is waiting for the
> asynchronous completion of this ioctl
This is actually not the case. The ioctl that ifconfig is stuck issuing
is SIOCGLIFFLAGS, as the SIOCSLIFNAME has already succeeded and
returned:
> db5a5cc0::print struct strioctl
{
ic_cmd = 0xc0786975
ic_timout = 0xffffffff
ic_len = 0x4
ic_dp = 0xdb5a5e68
}
0xc0786975 is SIOCGLIFFLAGS. Still scratching my head...
-Seb