[PATCH 1/5] net: eth-uclass: guard against reentrant eth_init()/eth_halt() calls

Tom Rini trini at konsulko.com
Thu May 16 01:28:55 CEST 2024


On Fri, 26 Apr 2024 10:02:24 +0200, Matthias Schiffer wrote:

> With netconsole, any log message can result in an eth_init(), possibly
> causing an reentrant call into eth_init() if a driver's ops print
> anything:
> 
>     eth_init() -> driver.start() -> printf() -> netconsole -> eth_init()
>     eth_halt() -> driver.stop() -> printf() -> netconsole -> eth_init()
> 
> [...]

Applied to u-boot/next, thanks!

-- 
Tom




More information about the U-Boot mailing list