nsmb_open has a race
While comparing the nsmb driver with another driver, I noticed that it
prematurely drops a mutex protecting some global state used in the
allocation of an unused minor unit. While I've not seen this actually
happen, it should be fixed.
Updated by Gordon Ross about 10 years ago
- Status changed from New to Resolved
changeset: 13417:35e2d64a5cf6 tag: tip user: Gordon Ross <email@example.com> date: Fri Jul 29 21:26:16 2011 -0400 description: 1282 nsmb_open has a race Reviewed by: Garrett D'Amore <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org> modified: usr/src/uts/common/fs/smbclnt/netsmb/smb_conn.h usr/src/uts/common/fs/smbclnt/netsmb/smb_dev.c