The call to eth_init within net_init causes the network interface to
start, stop, start again which can cause issues with certain network
device drivers. Remove it to make it behave like the legacy network
path.

Fixes: 5666865decb8 ("net: lwip: fix initialization sequence before a command")
Signed-off-by: Tim Harvey <thar...@gateworks.com>
---
 net/lwip/net-lwip.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/lwip/net-lwip.c b/net/lwip/net-lwip.c
index 3918d57d7e58..d53faa39ba11 100644
--- a/net/lwip/net-lwip.c
+++ b/net/lwip/net-lwip.c
@@ -285,7 +285,6 @@ int net_init(void)
 
        if (!init_done) {
                eth_init_rings();
-               eth_init();
                lwip_init();
                init_done = true;
        }
-- 
2.25.1

Reply via email to