ng_pptpgre + netmask_change results to lock

Gleb Smirnoff glebius at
Mon Jun 4 11:37:57 UTC 2007

On Mon, Jun 04, 2007 at 09:57:36AM +0300, Nikos Vassiliadis wrote:
N> On Friday 01 June 2007 14:14, Gleb Smirnoff wrote:
N> > On Wed, May 30, 2007 at 02:32:21PM +0300, Alexander Motin wrote:
N> > A>  Nikos Vassiliadis wrote:
N> > A> >> In my case doing a few times:
N> > A> >> ifconfig fxp0
N> > A> >> ifconfig fxp0
N> > A> >> locks the box.
N> > A>
N> > A>  Doing this you are dropping all routes going via that network.
N> > Probably you A>  are dropping route to your pptp peer which can lead to
N> > wrapping tunnel A>  inside himself.
N> >
N> > Yes. This is a known problem with netgraph tunnels.
N> I see. Would it be possible/desirable to control this kind
N> of situations using a LINK[012] flag? I mean having code/kludge
N> doing loop detection?

I think that in this case loop detection can be implemented only
using mbuf tags.

Totus tuus, Glebius.

More information about the freebsd-net mailing list