Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2002 12:36:30 -0700 (PDT)
From:      Archie Cobbs <archie@dellroad.org>
To:        Lars Eggert <larse@ISI.EDU>
Cc:        julian@elischer.org, freebsd-net@freebsd.org
Subject:   Re: netgraph encryption?
Message-ID:  <200206141936.g5EJaUS24202@arch20m.dellroad.org>
In-Reply-To: <3D0A22CC.4010003@isi.edu> "from Lars Eggert at Jun 14, 2002 10:07:24 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206141936.g5EJaUS24202>