diff options
author | Michael Chan <michael.chan@broadcom.com> | 2017-01-25 02:55:09 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-25 13:27:13 -0500 |
commit | 90c694bb71819fb5bd3501ac397307d7e41ddeca (patch) | |
tree | da40ede4905d270f6a577197bd4c02ce932c5251 /include | |
parent | 0eaa24b971ae251ae9d3be23f77662a655532063 (diff) |
bnxt_en: Fix RTNL lock usage on bnxt_get_port_module_status().
bnxt_get_port_module_status() calls bnxt_update_link() which expects
RTNL to be held. In bnxt_sp_task() that does not hold RTNL, we need to
call it with a prior call to bnxt_rtnl_lock_sp() and the call needs to
be moved to the end of bnxt_sp_task().
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions