[SCSI] bnx2i: Added mutex lock protection to conn_get_param
authorEddie Wai <eddie.wai@broadcom.com>
Tue, 23 Nov 2010 23:29:26 +0000 (15:29 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:13 +0000 (12:24 -0600)
commit7a2962c77ced218faeeb7b5eda48abfebc578df2
tree9aa5da25ba6ae61ad0d383869621a019edc12b6f
parent252e44805bcfff5de2e05dd126f69a18e0b760f0
[SCSI] bnx2i: Added mutex lock protection to conn_get_param

Added net_dev mutex lock protection before accessing the csk
parameters.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bnx2i/bnx2i_iscsi.c