commit | 90c694bb71819fb5bd3501ac397307d7e41ddeca | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Wed Jan 25 02:55:09 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 25 13:27:13 2017 -0500 |
tree | da40ede4905d270f6a577197bd4c02ce932c5251 | |
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>