diff options
author | Satyam Sharma <satyam@infradead.org> | 2007-08-11 00:30:31 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-11 01:48:03 +0200 |
commit | 0cc120bea1d4ba3893a26c70d271e89f928b8a97 (patch) | |
tree | 5ff99a2211acc2886889b994d1dd3b9e7b1ce892 /drivers/net/ac3200.c | |
parent | [NET] netconsole: Simplify boot/module option setup logic (diff) | |
download | linux-0cc120bea1d4ba3893a26c70d271e89f928b8a97.tar.xz linux-0cc120bea1d4ba3893a26c70d271e89f928b8a97.zip |
[NET] netconsole: Use netif_running() in write_msg()
Based upon initial work by Keiichi Kii <k-keiichi@bx.jp.nec.com>.
Avoid unnecessarily disabling interrupts and calling netpoll_send_udp() if the
corresponding local interface is not up.
Signed-off-by: Satyam Sharma <satyam@infradead.org>
Acked-by: Keiichi Kii <k-keiichi@bx.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ac3200.c')
0 files changed, 0 insertions, 0 deletions