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.
This commit is contained in:
Gleb Smirnoff 2013-10-31 05:13:53 +00:00
parent be09cd5706
commit a9b3c1bf05
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257421

View File

@ -647,6 +647,9 @@ ipmi_wd_event(void *arg, unsigned int cmd, int *error)
unsigned int timeout;
int e;
if (dumping)
return;
cmd &= WD_INTERVAL;
if (cmd > 0 && cmd <= 63) {
timeout = ((uint64_t)1 << cmd) / 1000000000;