netconsole: bail out when no connection is opened
When no connection is opened we should not call into
the networking stack. Otherwise it can happen that we
delay further execution until the network stack detected
a link (or timed out bringing the link up).

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 88ffe72 commit 33987e9600a9edb109dab88b60c151277edb8d18
@Sascha Hauer Sascha Hauer authored on 13 Mar 2014
Showing 1 changed file
View
net/netconsole.c