diff options
author | Juliet Kim <julietk@linux.vnet.ibm.com> | 2019-09-20 16:11:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-25 13:41:41 +0200 |
commit | 7ed5b31f4a6695a21f617df07646e9b15c6c1d29 (patch) | |
tree | 39af057ff37d6c677c89f83279134ee22aace6ab /drivers/pnp/system.c | |
parent | b27507bb59ed504d7fa4d6a35f25a8cc39903b54 (diff) | |
download | linux-7ed5b31f4a6695a21f617df07646e9b15c6c1d29.tar.bz2 |
net/ibmvnic: prevent more than one thread from running in reset
The current code allows more than one thread to run in reset. This can
corrupt struct adapter data. Check adapter->resetting before performing
a reset, if there is another reset running delay (100 msec) before trying
again.
Signed-off-by: Juliet Kim <julietk@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pnp/system.c')
0 files changed, 0 insertions, 0 deletions