tech-kern archive

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

Re: interface detach/destroy hook?



On Mon, Nov 17, 2008 at 12:58:43AM -0500, der Mouse wrote:
> Hmm, so I was close.  Should I error out ifndef(PFIL_HOOKS), or is the
> preferred tack to build anyway and just let the system crash if an
> interface is removed out from under an srt (or pppoe or etc), or what?

Note that you can have PFIL_HOOKS but not pf nor ipf.

For pppoe I did it this way, as (1) I couldn't find anything better and
(2) bailing out early seemed not a good idea as there are certainly valid
configs where the underlying interface just can not go away, so a kernel
w/o PFIL_HOOKS still is safe.

Martin


Home | Main Index | Thread Index | Old Index