SIOCGIFMEDIA problems

gnn at freebsd.org gnn at freebsd.org
Fri May 13 05:33:29 PDT 2005


At Fri, 13 May 2005 11:10:13 +0200,
Sebastien Petit wrote:
> 
> Hi -net hackers,
> 
> A little question about SIOCGIFMEDIA ioctl:
>
> Somebody reports me that some interfaces (bge / em but anothers
> perhaps) seem to discard packet(s) during SIOCGIFMEDIA ioctl, Is it
> true and why ?

At least in the case of the em driver it's because eventually
em_init_locked() is called which re-initializes the whole device,
including the memory buffers.  It is unlikely that packets in the
buffers would survive that :-)  I suspect the same is true of bge.

Later,
George


More information about the freebsd-net mailing list