Re: patch for common networking error messages

Andrew Morton (akpm@digeo.com)
Mon, 16 Jun 2003 15:27:07 -0700


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