Hi Bernhard,
On Mon, Dec 12, 2022 at 6:12 PM Bernhard Rosenkränzer wrote:
>
> Calling eth_halt() could result in memory corruption if the stop()
> handler frees or modifies the priv member.
>
> A stored value of dev_get_uclass_priv() is assumed to remain valid
> after the stop() handler has been
Calling eth_halt() could result in memory corruption if the stop()
handler frees or modifies the priv member.
A stored value of dev_get_uclass_priv() is assumed to remain valid
after the stop() handler has been called, which is not always the
case (e.g. rndis over usb gadget).
Re-check the priv
2 matches
Mail list logo