diff options
| author | Yuval Mintz <[email protected]> | 2015-06-01 12:08:18 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-06-01 19:04:31 +0000 |
| commit | c6e36d8c1a76be7a7afa2669483857dadec1e99c (patch) | |
| tree | 6ba06f3353eaff41b0a9ccc01d9418033a3e4ed5 /net/unix/af_unix.c | |
| parent | xen: netback: read hotplug script once at start of day. (diff) | |
| download | kernel-c6e36d8c1a76be7a7afa2669483857dadec1e99c.tar.gz kernel-c6e36d8c1a76be7a7afa2669483857dadec1e99c.zip | |
bnx2x: Move statistics implementation into semaphores
Commit dff173de84958 ("bnx2x: Fix statistics locking scheme") changed the
bnx2x locking around statistics state into using a mutex - but the lock
is being accessed via a timer which is forbidden.
[If compiled with CONFIG_DEBUG_MUTEXES, logs show a warning about
accessing the mutex in interrupt context]
This moves the implementation into using a semaphore [with size '1']
instead.
Signed-off-by: Yuval Mintz <[email protected]>
Signed-off-by: Ariel Elior <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
