From: Justin Pettit Date: Wed, 3 Mar 2010 20:48:15 +0000 (-0800) Subject: brcompat: Print warning when kernel times out waiting for userspace X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca063bcd599bd00c4096628991529c16eb24d1b6;p=openvswitch brcompat: Print warning when kernel times out waiting for userspace --- diff --git a/datapath/brcompat.c b/datapath/brcompat.c index 92fcecc2..b7fb6f87 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);