mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
net: use netdev_lock to protect netdev_txnotify_dev
since the type of sconn lock is rmutex, there is no need to release sconn lock before TX Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
@@ -113,7 +113,6 @@ static void igmp_timeout_work(FAR void *arg)
|
||||
* the timer is cancelled before sending the IGMP_LEAVE_GROUP during leave.
|
||||
*/
|
||||
|
||||
net_lock();
|
||||
if (!IS_IDLEMEMBER(group->flags))
|
||||
{
|
||||
/* Schedule (and forget) the Membership Report. NOTE:
|
||||
@@ -136,8 +135,6 @@ static void igmp_timeout_work(FAR void *arg)
|
||||
* once or twice after short delays [Unsolicited Report Interval]..."
|
||||
*/
|
||||
}
|
||||
|
||||
net_unlock();
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user