commit | c0f54edbe26fbe8194d7e72c24c49f7b1c9c547f | [log] [tgz] |
---|---|---|
author | WingMan Kwok <w-kwok2@ti.com> | Thu Jul 23 15:57:19 2015 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 27 00:18:39 2015 -0700 |
tree | 89277ca84708901c3855ff62e53df7c293fd0d87 | |
parent | ea6f82fe37319675e271dd6b55fb37731eef0e46 [diff] |
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>