Re: [PATCH v1] net: eth-uclass: Fix eth_halt

2022-04-01 Thread qianfan
在 2022/4/2 3:26, Ramon Fried 写道: On Mon, Mar 28, 2022 at 9:14 AM wrote: From: qianfan Zhao eth_device_priv maybe unaccessable after @stop handler due to eth device is removed in @stop. Setting private data before @stop handler. This also fix data abort bug when run dhcp or tftp command via

Re: [PATCH v1] net: eth-uclass: Fix eth_halt

2022-04-01 Thread Ramon Fried
On Mon, Mar 28, 2022 at 9:14 AM wrote: > > From: qianfan Zhao > > eth_device_priv maybe unaccessable after @stop handler due to eth device > is removed in @stop. Setting private data before @stop handler. > > This also fix data abort bug when run dhcp or tftp command via usbnet. > > Signed-off-by

[PATCH v1] net: eth-uclass: Fix eth_halt

2022-03-27 Thread qianfanguijin
From: qianfan Zhao eth_device_priv maybe unaccessable after @stop handler due to eth device is removed in @stop. Setting private data before @stop handler. This also fix data abort bug when run dhcp or tftp command via usbnet. Signed-off-by: qianfan Zhao --- net/eth-uclass.c | 9 +++-- 1