summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTim Sell <Timothy.Sell@unisys.com>2015-07-24 19:00:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-24 23:43:37 +0300
commit4d79002e962466d455ae4933cd404cf5a1164894 (patch)
tree690fc2d5bf0299cb2c100b116df464970577d531 /include
parent7c03621a791499fdb47551693cd785f4fa5d03f8 (diff)
downloadlinux-4d79002e962466d455ae4933cd404cf5a1164894.tar.xz
staging: unisys: visornic - ensure proper net locking in tx reset logic
visornic tx reset handling is done asynchronously via a workqueue in visornic_timeout_reset(). As a result, it needs to use rtnl_lock() / rtnl_unlock() to lock against possible simultaneous close() of the network device. (I consulted the bnx2 driver as a model here, as that driver also does its tx reset handling asynchronously, just like visornic does. See bnx2_tx_timeout() and bnx2_reset_task().) Signed-off-by: Tim Sell <Timothy.Sell@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions