Skip to content
Snippets Groups Projects
Commit 8094972d authored by Frederic Leroy's avatar Frederic Leroy Committed by Tom Rini
Browse files

Fix loading freeze when netconsole is active


Netconsole calls eth_halt() before giving control to another operating
system.
But the state machine of netconsole don't take it into account.
Thus, netconsole calls network functions of an halted network device,
making the whole system freeze.
Rather than modifying the state machine of netconsole, we just unregister
the current network device before booting. It does work because
nc_send_packet() verifies that the current network device is not null.

Signed-off-by: default avatarFrédéric Leroy <fredo@starox.org>
parent 1f8b546f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment