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

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jan 6 14:32:04 PST 2005


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 at 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





More information about the Commits mailing list