net: netcp: Fixes the use of spin_lock_bh in timer function
authorWingMan Kwok <w-kwok2@ti.com>
Thu, 23 Jul 2015 19:57:19 +0000 (15:57 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 07:18:39 +0000 (00:18 -0700)
commitc0f54edbe26fbe8194d7e72c24c49f7b1c9c547f
tree89277ca84708901c3855ff62e53df7c293fd0d87
parentea6f82fe37319675e271dd6b55fb37731eef0e46
net: netcp: Fixes the use of spin_lock_bh in timer function

This patch fixes a bug in which the timer routine synchronized
against the ethtool-triggered statistics updates with spin_lock_bh().
A timer function is itself a bottom-half, so this should be
spin_lock().

Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_ethss.c