aboutsummaryrefslogtreecommitdiff
path: root/sys/ofed
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2015-01-22 11:12:42 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2015-01-22 11:12:42 +0000
commita115fb62edf8946c09ae3b4cebe097efb7ea3e38 (patch)
tree499d9197fe4fbf2671c76f17e92abf2f0cf51d05 /sys/ofed
parent2decd8fc810d0599227ed484e1510e840031fda7 (diff)
downloadsrc-a115fb62edf8946c09ae3b4cebe097efb7ea3e38.tar.gz
src-a115fb62edf8946c09ae3b4cebe097efb7ea3e38.zip
Revert for r277213:
FreeBSD developers need more time to review patches in the surrounding areas like the TCP stack which are using MPSAFE callouts to restore distribution of callouts on multiple CPUs. Bump the __FreeBSD_version instead of reverting it. Suggested by: kmacy, adrian, glebius and kib Differential Revision: https://reviews.freebsd.org/D1438
Notes
Notes: svn path=/head/; revision=277528
Diffstat (limited to 'sys/ofed')
-rw-r--r--sys/ofed/include/linux/completion.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/ofed/include/linux/completion.h b/sys/ofed/include/linux/completion.h
index 088828399c78..df4aec3595e4 100644
--- a/sys/ofed/include/linux/completion.h
+++ b/sys/ofed/include/linux/completion.h
@@ -105,9 +105,7 @@ _wait_for_timeout_common(struct completion *c, long timeout, int flags)
if (c->done)
break;
sleepq_add(c, NULL, "completion", flags, 0);
- sleepq_release(c);
sleepq_set_timeout(c, end - ticks);
- sleepq_lock(c);
if (flags & SLEEPQ_INTERRUPTIBLE) {
if (sleepq_timedwait_sig(c, 0) != 0)
return (-ERESTARTSYS);