cvs commit: src/sys/kern subr_bus.c

Warner Losh imp at FreeBSD.org
Mon Oct 13 23:22:08 PDT 2003


imp         2003/10/13 23:22:07 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             subr_bus.c 
  Log:
  With DIAGNOSTICS, sometimes we get weird crashes when some driver
  accesses softc after it is freed.  Use a different malloc type for
  softc than the rest of the bus code to make it more clear when these
  things happen that it is the driver that's at fault, not the bus code.
  
  Suggested by: sam and/or phk (I think)
  
  Revision  Changes    Path
  1.132     +4 -3      src/sys/kern/subr_bus.c


More information about the cvs-src mailing list