Messages in this thread | | | From | Jose Abreu <> | Subject | RE: [PATCH net v3 1/5] net: stmmac: Fix incorrect location to set real_num_rx|tx_queues | Date | Wed, 22 Jan 2020 09:55:52 +0000 |
| |
From: Ong Boon Leong <boon.leong.ong@intel.com> Date: Jan/22/2020, 09:09:32 (UTC+00:00)
> For driver open(), rtnl_lock is acquired by network stack but not in the > resume(). Therefore, we introduce lock_acquired boolean to control when > to use rtnl_lock|unlock() within stmmac_hw_setup().
Why not use rtnl_is_locked() instead of the boolean ?
--- Thanks, Jose Miguel Abreu
| |