svn commit: r257421 - head/sys/dev/ipmi

Gleb Smirnoff glebius at FreeBSD.org
Thu Oct 31 05:13:54 UTC 2013


Author: glebius
Date: Thu Oct 31 05:13:53 2013
New Revision: 257421
URL: http://svnweb.freebsd.org/changeset/base/257421

Log:
  Provide a crutch that prevents watchdog to interrupt dumping
  on a box with IPMI enabled.
  
  Okay from:	jhb
  Sponsored by:	Netflix
  Sponsored by:	Nginx, Inc.

Modified:
  head/sys/dev/ipmi/ipmi.c

Modified: head/sys/dev/ipmi/ipmi.c
==============================================================================
--- head/sys/dev/ipmi/ipmi.c	Thu Oct 31 05:00:50 2013	(r257420)
+++ head/sys/dev/ipmi/ipmi.c	Thu Oct 31 05:13:53 2013	(r257421)
@@ -647,6 +647,9 @@ ipmi_wd_event(void *arg, unsigned int cm
 	unsigned int timeout;
 	int e;
 
+	if (dumping)
+		return;
+
 	cmd &= WD_INTERVAL;
 	if (cmd > 0 && cmd <= 63) {
 		timeout = ((uint64_t)1 << cmd) / 1000000000;


More information about the svn-src-head mailing list