]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ibmvnic-fixes'
authorDavid S. Miller <davem@davemloft.net>
Fri, 25 Feb 2022 10:57:47 +0000 (10:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Feb 2022 10:57:47 +0000 (10:57 +0000)
commit4879707eb2a50b68ba2f2767a0fbb25f8e426b57
tree5db2e3a2623646641253680ed039d7ec5261e1dc
parentd9278901efa4a42285deda2f0f8e44d4d5cfe9be
parentd961561082c85051cae3803afd0ac39feb1a7e3d
Merge branch 'ibmvnic-fixes'

Sukadev Bhattiprolu says:

====================
ibmvnic: Fix a race in ibmvnic_probe()

If we get a transport (reset) event right after a successful CRQ_INIT
during ibmvnic_probe() but before we set the adapter state to VNIC_PROBED,
we will throw away the reset assuming that the adapter is still in the
probing state. But since the adapter has completed the CRQ_INIT any
subsequent CRQs the we send will be ignored by the vnicserver until
we release/init the CRQ again. This can leave the adapter unconfigured.

While here fix a couple of other bugs that were observed (Patches 1,2,4).
====================

Signed-off-by: David S. Miller <davem@davemloft.net>