projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09cc5de
)
brcompat: Print warning when kernel times out waiting for userspace
author
Justin Pettit
<jpettit@nicira.com>
Wed, 3 Mar 2010 20:48:15 +0000
(12:48 -0800)
committer
Justin Pettit
<jpettit@nicira.com>
Wed, 3 Mar 2010 20:51:01 +0000
(12:51 -0800)
datapath/brcompat.c
patch
|
blob
|
history
diff --git
a/datapath/brcompat.c
b/datapath/brcompat.c
index 92fcecc216719dce8eb274b96ffb5210c95491ae..b7fb6f8726514b42c2091e930aa3f1c45f2eac24 100644
(file)
--- a/
datapath/brcompat.c
+++ b/
datapath/brcompat.c
@@
-485,8
+485,10
@@
static struct sk_buff *brc_send_command(struct sk_buff *request, struct nlattr *
/* Wait for reply. */
error = -ETIMEDOUT;
- if (!wait_for_completion_timeout(&brc_done, BRC_TIMEOUT))
+ if (!wait_for_completion_timeout(&brc_done, BRC_TIMEOUT)) {
+ printk(KERN_WARNING "brcompat: timed out waiting for userspace\n");
goto error;
+ }
/* Grab reply. */
spin_lock_irqsave(&brc_lock, flags);