net: Test off by one in sh_eth_reset()
If no break occurred, cnt reaches 0 after the loop. Signed-off-by: NRoel Kluin <roel.kluin@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录
If no break occurred, cnt reaches 0 after the loop. Signed-off-by: NRoel Kluin <roel.kluin@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>