[PATCH net v2 2/2] net: stmmac: keep datapath state coherent after reinitialization failure

Andrew Lunn andrew at lunn.ch
Tue Sep 22 17:47:25 PDT 2026


On Tue, Sep 22, 2026 at 05:27:41PM -0600, James Hilliard wrote:
> An MTU change releases the running datapath before reopening it.

This is the real problem. Changing the MTU should not release the
datapath. 

> If the reopen fails

Why is reopen failing?

You want the driver to allocate all the resources it needs before
releasing its old resources. That way you can always undo part way
through and still have a working interface.

	Andrew



More information about the linux-arm-kernel mailing list