DragonFly BSD
DragonFly commits List (threaded) for 2005-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/netgraph/netgraph ng_base.c


From: YONETANI Tomokazu <y0netan1@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Aug 2005 06:25:08 -0700 (PDT)

y0netan1    2005/08/30 06:25:07 PDT

DragonFly src repository

  Modified files:
    sys/netgraph/netgraph ng_base.c 
  Log:
  Workaround the panic, triggered by the netgraph attempting to
  load a missing module from within the socket dispatch thread, by:
  
  - not trying to load a netgraph module when you can't.
  
  - preloading ng_ksocket.ko(if missing) from the module handler
    where you're guaranteed to have the process context needed by
    the linker_* functions. This makes us sure at least that the basic
    netgraph operations will work without messing with loading a kernel
    module on the fly (suggested by: hiten@).
  
  Reviewed-by: hiten@
  
  Revision  Changes    Path
  1.16      +65 -19    src/sys/netgraph/netgraph/ng_base.c


http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/netgraph/ng_base.c.diff?r1=1.15&r2=1.16&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]