Project

General

Profile

Actions

Bug #1282

closed

nsmb_open has a race

Added by Gordon Ross over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Start date:
2011-07-27
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

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.

Actions #1

Updated by Gordon Ross over 12 years ago

  • Status changed from New to Resolved
changeset:   13417:35e2d64a5cf6
tag:         tip
user:        Gordon Ross <gwr@nexenta.com>
date:        Fri Jul 29 21:26:16 2011 -0400

description:
    1282 nsmb_open has a race
    Reviewed by: Garrett D'Amore <garrett@nexenta.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

modified:
   usr/src/uts/common/fs/smbclnt/netsmb/smb_conn.h
   usr/src/uts/common/fs/smbclnt/netsmb/smb_dev.c
Actions

Also available in: Atom PDF