Re: patch for common networking error messages

Andrew Morton
2003-06-16T22:12:42Z

"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.