• Stephen Hemminger's avatar
    8139cp: safer spin loop for get_statistics · 97f568d8
    Stephen Hemminger authored
    The spin loop in 8139cp is limited to 100 iterations when pulling hardware
    stats. There is no allowance for processor speed so on a fast machine, the
    stats may not be available that fast. Also, if the board doesn't return
    soon enough make sure turn the address back off to prevent later updates
    when memory has gone away.
    97f568d8
8139cp.c 50.9 KB