Daniel Pieczko f00bf2305c sfc: don't update stats on VF when called in atomic context
The ifenslave command to set up a bond runs in an atomic
context, and it queries the stats on the devices that are
being enslaved. A VF needs to make an MCDI call to update
its stats, which is not allowed in atomic context.

The releasing of the stats_lock is moved to the beginning of
the VF stats update function so that in_interrupt() can be
used; it must be taken again before returning from this
function.

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-06-02 12:57:29 -07:00
..
2015-04-16 13:53:32 -05:00
2015-05-31 21:34:38 -07:00
2015-05-31 21:46:01 -07:00
2015-05-31 21:23:28 -07:00
2015-05-21 17:17:50 -04:00
2015-05-04 00:18:27 -04:00