6945799 mutex problem in oce_mbox_post()
authorSukumar Swaminathan <Sukumar.Swaminathan@Sun.COM>
Thu, 29 Apr 2010 12:35:00 -0600
changeset 12283 504fda1f819c
parent 12282 a121efaf294e
child 12284 3d1135425dbe
6945799 mutex problem in oce_mbox_post()
usr/src/uts/common/io/fibre-channel/fca/oce/oce_mbx.c
usr/src/uts/common/sys/fibre-channel/fca/oce/oce_version.h
--- a/usr/src/uts/common/io/fibre-channel/fca/oce/oce_mbx.c	Thu Apr 29 10:52:06 2010 -0700
+++ b/usr/src/uts/common/io/fibre-channel/fca/oce/oce_mbx.c	Thu Apr 29 12:35:00 2010 -0600
@@ -266,6 +266,7 @@
 	/* now dispatch */
 	ret = oce_mbox_dispatch(dev, tmo);
 	if (ret != 0) {
+		mutex_exit(&dev->bmbx_lock);
 		return (ret);
 	}
 
--- a/usr/src/uts/common/sys/fibre-channel/fca/oce/oce_version.h	Thu Apr 29 10:52:06 2010 -0700
+++ b/usr/src/uts/common/sys/fibre-channel/fca/oce/oce_version.h	Thu Apr 29 12:35:00 2010 -0600
@@ -38,7 +38,7 @@
 #define	OCE_MAJOR_VERSION	"1"
 #define	OCE_MINOR_VERSION	"1"
 #define	OCE_RELEASE_NUM		"0"
-#define	OCE_PROTO_LEVEL		"f"
+#define	OCE_PROTO_LEVEL		"f2"
 
 #define	OCE_VERSION		OCE_MAJOR_VERSION "." \
 				OCE_MINOR_VERSION \