gve: use gve_schedule_reset() on AdminQ flow rule timeout
Subsystems (2)
Quoted 9 lines · Harshitha Ramamurthy
gve_reset()does not acquire thertnl_lock(). Also, there is no inner driver lock context that is acquired at this point. The inner driver lock context that the AI is complaining about is possiblypriv->adminq_lockbut that is already released on error bygve_adminq_execute_cmd().gve_reset()is also written in such a way that the onus is on the caller to acquire the appropriate locks - either through the ethtool core when calling gve_user_reset()/gve_set_rxnfc() or explicitly bygve_handle_reset().
Quoted 8 lines
Sashiko has also called out a few issues this change could introduce. Considering this issue hasn't actually been encountered in the wild, there is no lockdep splat and the commit message is inaccurate, I don't think this qualifies for the net tree.
For the net-next tree, a more holistic change is in the works for the reset path that also changes this path and removes the synchronous reset anyway.
Understood. Thanks for clarifying the gve_reset() lock mechanics and adminq_lock release behavior.
We will drop this patch from the net tree and look out for Google's upcoming reset path refactoring in net-next.