Date: Mon, 5 Apr 2004 09:55:16 -0700 (PDT) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_gif.c if_gif.h Message-ID: <200404051655.i35GtGt7041848@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2004/04/05 09:55:16 PDT
FreeBSD src repository
Modified files:
sys/net if_gif.c if_gif.h
Log:
Properly detect loops by recording the interface pointer in an mtag.
For now, preserve the gif_called functionality to limit the nesting
level because uncontrolled nesting can easily cause the kernel stack
exhaustion. Rumors are it should be shot to allow people to easily
shoot themselves in the foot, but I have ran out of cartridges. ;)
Revision Changes Path
1.44 +30 -20 src/sys/net/if_gif.c
1.15 +3 -0 src/sys/net/if_gif.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404051655.i35GtGt7041848>
