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 over 9 years ago
- Status changed from New to Resolved
changeset: 13417:35e2d64a5cf6 tag: tip user: Gordon Ross <firstname.lastname@example.org> date: Fri Jul 29 21:26:16 2011 -0400 description: 1282 nsmb_open has a race Reviewed by: Garrett D'Amore <email@example.com> Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com> modified: usr/src/uts/common/fs/smbclnt/netsmb/smb_conn.h usr/src/uts/common/fs/smbclnt/netsmb/smb_dev.c