Date: Tue, 25 Mar 2003 20:38:39 -0800 (PST) From: "Kenneth D. Merry" <ken@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam/scsi scsi_cd.c scsi_da.c Message-ID: <200303260438.h2Q4cd9N046038@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ken 2003/03/25 20:38:39 PST FreeBSD src repository Modified files: sys/cam/scsi scsi_cd.c scsi_da.c Log: Clean up dynamically allocated sysctl variables when we run dacleanup() and cdcleanup(). This fixes sysctl problems ("can't re-use a leaf") when someone adds another peripheral at the same unit number. (e.g. rescan da0, it goes away, then rescan again and da0 comes back, but since we haven't cleaned up the sysctl variables from the last da0 instance, we can't register the variables for the new instance under the same name.) Reported by: njl Tested by: njl Revision Changes Path 1.77 +6 -0 src/sys/cam/scsi/scsi_cd.c 1.135 +8 -0 src/sys/cam/scsi/scsi_da.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303260438.h2Q4cd9N046038>