[ovs-dev] [PATCH 2/2] brcompat: Print warning when kernel times out waiting for userspace
Justin Pettit
jpettit at nicira.com
Wed Mar 3 23:05:00 UTC 2010
---
datapath/brcompat.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/datapath/brcompat.c b/datapath/brcompat.c
index 92fcecc..b7fb6f8 100644
--- 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);
--
1.6.5.5
More information about the dev
mailing list