Our developer still thinks the race condition would be elsewhere.
In both i40evf_reset_task and i40evf_open, i40evf_configure is being called and
i40evf_configure calls i40evf_set_rx_mode.
Then in 40evf_set_rx_mode, there is the while loop to check
__I40EVF_IN_CRITICAL_TASK.
Hi Alex,
I apologize for my mistake and for being unclear. I meant "ndo_stop".
You are right that they should be called with the RTNL lock held. And we were
doing that. What is probably wrong is that we were not
calling
clear_bit(__LINK_STATE_START, >state);
This only happens if