cvs commit: src/sys/netgraph/ksocket ng_ksocket.c

Jeffrey Hsu hsu at freebsd.org
Thu Apr 8 13:29:24 PDT 2004


Jeffrey Hsu wrote:
hsu         2004/04/08 13:13:28 PDT

DragonFly src repository

  Modified files:
    sys/netgraph/ksocket ng_ksocket.c 
  Log:
  Workaround for not having a proc context.  Use the thread0 context when
  the real context is not available.  The real solution is to propagate
  the information passed into ngc_send() down to here.  This workaround
  implements the same incorrect behavior as FreeBSD as of rev 1.4 of
  ng_ksocket.c in 1999.
  
  Revision  Changes    Path
  1.8       +3 -3      src/sys/netgraph/ksocket/ng_ksocket.c

http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/ksocket/ng_ksocket.c.diff?r1=1.7&r2=1.8&f=h
Bug reported by 
YONETANI Tomokazu <qhwt+dragonfly-bugs at xxxxxxxxxx> who also provided detailed stack traces and tested the workaround.  Matt provided valuable input on the workaround.






More information about the Commits mailing list