On Sat, May 08, 2010 at 05:07:20AM -0600, Stefan Sperling wrote:
> CVSROOT: /cvs
> Module name: src
> Changes by: [email protected] 2010/05/08 05:07:20
>
> Modified files:
> sys/net : if.c
>
> Log message:
> While handling SIOCSIFLLADDR, after adjusting the MAC of the interface,
> call the interface-specific ioctl handler as well in case the driver
> needs to do something special. E.g. if_trunk expects this in order to
> update MAC addresses of its trunk ports.
>
I wasn't thinking straight when I wrote:
> If you now see "Inappropriate ioctl for device" errors after running
> "ifconfig $if lladdr random" please let me know. Most likely the ioctl
> handler of the driver needs fixing.
Should have said:
If you see *any* errors after running "ifconfig $if lladdr random" please
let me know.
We expect ENOTTY ("Inappropriate ioctl for device") and it will be suppressed.
Any other errors are most likely due to a buggy ioctl handler in the driver,
and won't be suppressed.