Re: [PATCH] net: Add a WARN_ON_ONCE() to the transmit timeoutfunction

From: David Miller
Date: Fri May 02 2008 - 19:21:43 EST


From: Arjan van de Ven <arjan@xxxxxxxxxxxxx>
Date: Thu, 1 May 2008 13:34:24 -0700

> WARN_ON_ONCE() gives a stack trace including the full module list.
> Having this in the kernel dump for the timeout case in the
> generic netdev watchdog will help us see quicker which driver
> is involved. It also allows us to collect statistics
> and patterns in terms of which drivers have this event occuring.
>
> Suggested by Andrew Morton
>
> Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>

Looks good, applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/