Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/net



On Thu, Oct 20, 2011 at 06:59:42AM +0000, YAMAMOTO Takashi wrote:
> hi,
> 
> > Module Name:        src
> > Committed By:       dyoung
> > Date:               Wed Oct 19 01:34:37 UTC 2011
> > 
> > Modified Files:
> >     src/sys/net: if.c if.h
> > 
> > Log Message:
> > Start to untangle the ifnet ioctls mess.
> > 
> > Add ifnet functions, if_mcast_op(), if_flags_set(), and if_addr_init()
> > for adding/deleting multicast addresses, modifying the if_flags,
> > and initializing local/remote addresses.  Make ifpromisc() use
> > if_flags_set().  Protocols and network drivers should use these
> > instead of ifp->if_ioctl() calls.  Subsequent commits will
> > replace ifp->if_ioctl(SIOCADDMULTI| SIOCDELMULTI| SIOCSIFDSTADDR|
> > SIOCINITIFADDR| SIOCSIFFLAGS) calls with calls to the new functions.
> > 
> > Use a mutex(9) to synchronize ifp->if_ioctl() calls originating in
> > userland.  Also synchronize ifp->if_ioctl() calls with ifnet detachment
> > and reclamation.
> 
> can you explain what you are trying to achieve with this percpu stuff?

I have tried to explain in some new comments.  Let me know if you still
have questions.

Dave

-- 
David Young             OJC Technologies is now Pixo
dyoung%pixotech.com@localhost     Urbana, IL   (217) 344-0444 x24


Home | Main Index | Thread Index | Old Index