> If we move the event to ipif_down_tail, for a network interface that has
 > multiple logical interfaces instantiated then doing an unplumb will generate
 > an NE_DOWN for each logical interface.

First, that's the behavior I'd expect.  Second, that happens regardless of
whether the event is done in ipif_down() or ipif_down_tail(); they are
always called as a pair.

 > In addition, ipif_down_tail() has no knowledge about whether or not the
 > interface was previously up and is now going down - that knowledge
 > only exists in ipif_down().

That's a bug which I'm about to fix -- see 6452343.

In general, it seems odd to me to have the pfhook be in a different
location from the routing socket message for the same event.

-- 
meem
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to