cvs commit: src/sys/net if_stf.c

David Malone dwmalone at FreeBSD.org
Thu Sep 25 12:35:06 UTC 2008


dwmalone    2008-09-25 12:35:01 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if_stf.c 
  Log:
  SVN rev 183351 on 2008-09-25 12:35:01Z by dwmalone
  
  Some people's 6to4 routers seem to have been blowing up because of
  the unlocked route caching in if_stf. Add a mutex that protects
  access to cached route. This seemed to fix problems for Pekka Savola.
  
  Nick Sayer had similar problems, and in his case completly disabling
  the route cache seemed to help. Add a sysctl net.link.stf.route_cache
  that can be used to turn off route caching in if_stf.
  
  PR:             122283
  MFC after:      2 weeks
  Tested by:      Pekka Savola, Nick Sayer.
  
  Revision  Changes    Path
  1.64      +30 -6     src/sys/net/if_stf.c


More information about the cvs-src mailing list