[Linux-stm32] [PATCH net v3 1/5] net: stmmac: Fix incorrect location to set real_num_rx|tx_queues
Jose Abreu
Jose.Abreu at synopsys.com
Wed Jan 22 09:55:52 UTC 2020
From: Ong Boon Leong <boon.leong.ong at 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
More information about the Linux-stm32
mailing list