Subject: Re: Alternative approach for interface events
To: None <thorpej@shagadelic.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-net
Date: 09/22/2004 06:57:48
> > It's not the intention to call it from an interrupt context. Some 
> > places
> > to put EVENTHANDLER_INVOKE would be where currently pfil_run_hooks() is
> > called to note about interface changes.
> 
> Ok, then please note that EVENTHANDLER_* is not legal to call from an 
> interrupt context in the manual page that you write for it :-)

PFIL_IFADDR hooks currently can be called from interrupt context.
ie. sppp_set_ip_addrs.

i think protect the list by splsoftnet (or splbio?) is reasonable.

YAMAMOTO Takashi