Re: patch for common networking error messages

From: Andrew Morton (akpm@digeo.com)
Date: Mon Jun 16 2003 - 17:27:07 EST


"David S. Miller" <davem@redhat.com> wrote:
>
> From: Andi Kleen <ak@suse.de>
> Date: Mon, 16 Jun 2003 22:53:42 +0200
>
> Why? It will make supporting netconsole easier which has to be careful
> to never recurse in the network driver.
>
> printk can check this

Actually it already does, to cover the case where an interrupt handler calls
printk while process-context code is performing a printk.

The nested printk will squirt the message into the log buffer and the
"outer" code will display it.

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



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:19 EST