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

cvs commit: src/sys/netproto/smb smb_iod.c smb_subr.c smb_subr.h


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 Jan 2005 14:31:16 -0800 (PST)

dillon      2005/01/06 14:31:16 PST

DragonFly src repository

  Modified files:
    sys/netproto/smb     smb_iod.c smb_subr.c smb_subr.h 
  Log:
  Fix a kernel crash that occurs when the SMB protocol stack is used.  The
  SMB protocol stack is still hacked to create a kernel thread with a
  process structure attached to it (when we really ought to be using a pure
  kernel thread... this is the only subsystem that still doesn't).  However,
  the SMB code was not properly cleaning the process structure up on exit
  resulting in a corrupt process a list.  A 'ps' equivalent occuring after
  this situation occurs can crash the kernel.
  
  Reported-by: Rumko <rumcic@xxxxxxxxx>
  
  Revision  Changes    Path
  1.11      +2 -2      src/sys/netproto/smb/smb_iod.c
  1.13      +9 -0      src/sys/netproto/smb/smb_subr.c
  1.10      +1 -0      src/sys/netproto/smb/smb_subr.h


http://www.dragonflybsd.org/cvsweb/src/sys/netproto/smb/smb_iod.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/smb/smb_subr.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/smb/smb_subr.h.diff?r1=1.9&r2=1.10&f=u



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