svn commit: r335163 - releng/11.2/sys/dev/ocs_fc
Glen Barber
gjb at FreeBSD.org
Thu Jun 14 17:42:20 UTC 2018
Author: gjb
Date: Thu Jun 14 17:42:19 2018
New Revision: 335163
URL: https://svnweb.freebsd.org/changeset/base/335163
Log:
MFS11 r334872 (ram):
MFC r334657:
Issue: Utility hangs when OCS_IOCTL_CMD_MGMT_GET_ALL called in
parallel on port 0 and port 1.
Fix: Using static structure for results is corrupting the second
ioctl request. Removed static for results structure.
Approved by: re (marius)
Sponsored by: The FreeBSD Foundation
Modified:
releng/11.2/sys/dev/ocs_fc/ocs_mgmt.c
Directory Properties:
releng/11.2/ (props changed)
Modified: releng/11.2/sys/dev/ocs_fc/ocs_mgmt.c
==============================================================================
--- releng/11.2/sys/dev/ocs_fc/ocs_mgmt.c Thu Jun 14 17:36:02 2018 (r335162)
+++ releng/11.2/sys/dev/ocs_fc/ocs_mgmt.c Thu Jun 14 17:42:19 2018 (r335163)
@@ -2373,7 +2373,7 @@ static void
get_nv_wwpn(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf)
{
char result_string[24];
- static ocs_mgmt_get_nvparms_result_t result;
+ ocs_mgmt_get_nvparms_result_t result;
ocs_sem_init(&(result.semaphore), 0, "get_nv_wwpn");
@@ -2411,7 +2411,7 @@ static void
get_nv_wwnn(ocs_t *ocs, char *name, ocs_textbuf_t *textbuf)
{
char result_string[24];
- static ocs_mgmt_get_nvparms_result_t result;
+ ocs_mgmt_get_nvparms_result_t result;
ocs_sem_init(&(result.semaphore), 0, "get_nv_wwnn");
More information about the svn-src-releng
mailing list