Re: [PATCH net] bnx2x: Move statistics implementation into semaphores

2015-06-01 Thread David Miller
From: Yuval Mintz Date: Mon, 1 Jun 2015 15:08:18 +0300 > 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_MUTE

[PATCH net] bnx2x: Move statistics implementation into semaphores

2015-06-01 Thread Yuval Mintz
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 con