On Tue, 2021-01-12 at 10:14 -0800, Sukadev Bhattiprolu wrote: > Use more consistent locking when reading/writing the adapter->state > field. This patch set fixes a race condition during ibmvnic_open() > where the adapter could be left in the PROBED state if a reset occurs > at the wrong time. This can cause networking to not come up during > boot and potentially require manual intervention in bringing up > applications that depend on the network. > > Changelog[v2] [Address comments from Jakub Kicinski] > - Fix up commit log for patch 5/7 and drop unnecessary variable > - Format Fixes line properly (no wrapping, no blank lines) > > Sukadev Bhattiprolu (7): > ibmvnic: restore state in change-param reset > ibmvnic: update reset function prototypes > ibmvnic: avoid allocating rwi entries > ibmvnic: switch order of checks in ibmvnic_reset > ibmvnic: serialize access to work queue > ibmvnic: check adapter->state under state_lock > ibmvnic: add comments about state_lock > > Other than the two minor comments, Reviewed-by: Saeed Mahameed <sae...@nvidia.com>
- Re: [PATCH net-next v2 5/7] ibmvnic: serialize ac... Saeed Mahameed
- Re: [PATCH net-next v2 5/7] ibmvnic: serializ... Sukadev Bhattiprolu
- Re: [PATCH net-next v2 5/7] ibmvnic: seri... Jakub Kicinski
- [PATCH net-next v2 7/7] ibmvnic: add comments about st... Sukadev Bhattiprolu
- [PATCH net-next v2 3/7] ibmvnic: avoid allocating rwi ... Sukadev Bhattiprolu
- Re: [PATCH net-next v2 3/7] ibmvnic: avoid alloca... Saeed Mahameed
- Re: [PATCH net-next v2 3/7] ibmvnic: avoid al... Sukadev Bhattiprolu
- [PATCH net-next v2 4/7] ibmvnic: switch order of check... Sukadev Bhattiprolu
- [PATCH net-next v2 1/7] ibmvnic: restore state in chan... Sukadev Bhattiprolu
- Re: [PATCH net-next v2 0/7] ibmvnic: Use more consiste... Saeed Mahameed
- Re: [PATCH net-next v2 0/7] ibmvnic: Use more consiste... Jakub Kicinski
- Re: [PATCH net-next v2 0/7] ibmvnic: Use more con... Sukadev Bhattiprolu
- Re: [PATCH net-next v2 0/7] ibmvnic: Use more... Jakub Kicinski
- Re: [PATCH net-next v2 0/7] ibmvnic: Use ... Sukadev Bhattiprolu
- Re: [PATCH net-next v2 0/7] ibmvnic: Use more con... Sukadev Bhattiprolu