Skip to content
Snippets Groups Projects
Commit 7ed5b31f authored by Juliet Kim's avatar Juliet Kim Committed by David S. Miller
Browse files

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: default avatarJuliet Kim <julietk@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b27507bb
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment