diff options
| author | Daniel Pieczko <[email protected]> | 2015-06-02 11:40:18 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-06-02 12:57:29 -0700 |
| commit | f00bf2305cabc2313c70575384aee60e8f2a684d (patch) | |
| tree | 7a10c2249196c569f8c6c72866605eb23c3419fd /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | d94619cdfc561eee18e2d40ab6563e3f2f072fdd (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions