Lars Eggert writes:
> #11 0xc1be5bfc in ?? ()
> #12 0xc01b622c in if_allmulti (ifp=0xc1be4300, onswitch=1) at 
> ../../net/if.c:1375

Well, this is obvious by looking at it.

ng_iface_ioctl() expects (in the case of SIOCSIFFLAGS) the third argument
to point to a struct ifreq, yet if_allmulti() is passing NULL.

It seems that ng_iface is not the only interface code that makes
this assumption, e.g., see if_vlan.c, if_ppp.c, etc.

What is the deal with if_allmulti() passing NULL?

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to