]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: mv643xx_eth: update statistics timer from timer context only
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Wed, 2 Oct 2013 10:57:20 +0000 (12:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Oct 2013 21:11:37 +0000 (17:11 -0400)
commit041b4ddb84989f06ff1df0ca869b950f1ee3cb1c
tree5f8f98d9ea44e00df08a701368d00a350cac35c4
parente18503f41f9b12132c95d7c31ca6ee5155e44e5c
net: mv643xx_eth: update statistics timer from timer context only

Each port driver installs a periodic timer to update port statistics
by calling mib_counters_update. As mib_counters_update is also called
from non-timer context, we should not reschedule the timer there but
rather move it to timer-only context.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mv643xx_eth.c