cvs commit: src/sys/net if_gif.c if_gif.h

Ruslan Ermilov ru at FreeBSD.org
Mon Apr 5 09:55:16 PDT 2004


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


More information about the cvs-all mailing list