svn commit: r255003 - head/sys/dev/qlxgbe
David C Somayajulu
davidcs at FreeBSD.org
Wed Aug 28 20:07:01 UTC 2013
Author: davidcs
Date: Wed Aug 28 20:07:00 2013
New Revision: 255003
URL: http://svnweb.freebsd.org/changeset/base/255003
Log:
ql_minidump() should be performed only by port 0.
Submitted by: David C Somayajulu
Modified:
head/sys/dev/qlxgbe/ql_os.c
Modified: head/sys/dev/qlxgbe/ql_os.c
==============================================================================
--- head/sys/dev/qlxgbe/ql_os.c Wed Aug 28 20:00:25 2013 (r255002)
+++ head/sys/dev/qlxgbe/ql_os.c Wed Aug 28 20:07:00 2013 (r255003)
@@ -1642,8 +1642,6 @@ qla_error_recovery(void *context, int pe
QLA_UNLOCK(ha, __func__);
- ql_minidump(ha);
-
if ((ha->pci_func & 0x1) == 0) {
if (!ha->msg_from_peer) {
@@ -1656,6 +1654,8 @@ qla_error_recovery(void *context, int pe
ha->msg_from_peer = 0;
+ ql_minidump(ha);
+
(void) ql_init_hw(ha);
qla_free_xmt_bufs(ha);
qla_free_rcv_bufs(ha);
More information about the svn-src-all
mailing list