Subject: Re: use of m_pkthdr.rcvif by ipsec outbound processing.
To: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: tech-net
Date: 10/12/1999 18:06:47
On Tue, 12 Oct 1999, Bill Sommerfeld wrote:

> This is somewhat unclean, and also makes it somewhat more difficult to
> implement hot-swappable network interfaces (one piece of the ifdetach
> work involves reference counting interfaces so you know when it's safe
> to delete one).

Part of the ifdetach branch had a flag which indicated that something
other than a struct ifnet * was in that field. Obviously you had to put
the ifnet back before you dropped your reference, but at least you didn't
change the reference count on the wrong thing. :-)

Take care,

Bill