
21 Feb
2019
21 Feb
'19
4 a.m.
On Wed, Feb 20, 2019 at 8:33 PM Keerthy j-keerthy@ti.com wrote:
Currently stop is being called unconditionally without even checking if start is called. In case of multiple instances eth being present many devices might just be initialized without a start call in such cases stop might lead unpredictable behaviors including aborts and crashes. Hence add a check before calling stop.
Signed-off-by: Keerthy j-keerthy@ti.com
net/eth-uclass.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Could you please provide a test case?
Regards, Bin