On 10/4/23 12:12 PM, Yoshihiro Shimoda wrote: > The dma_free_coherent() in ravb_remove() should be called after How about: In ravb_remove(), dma_free_coherent() should be called after unregister_netdev(). > unregister_netdev(). Otherwise, this controller is possible to use > the freed buffer. > > Fixes: c156633f1353 ("Renesas Ethernet AVB driver proper") > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> Reviewed-by: Sergey Shtylyov <s.shtylyov@xxxxxx> [...] MBR, Sergey