bonding: remove bond_resend_igmp_join_requests read_unlock leftover
Subsystems (3)
PATCH 1/1 bonding: remove bond_resend_igmp_join_requests read_unlock leftover
After commit 4aa5dee4d9 ("net: convert resend IGMP to notifier event") we have 1 read_unlock in bond_resend_igmp_join_requests which isn't paired with a read_lock because it's removed by that commit.
--- drivers/net/bonding/bond_main.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/bonding/bond_main.c +0 -1
@@ -739,7 +739,6 @@ static void bond_resend_igmp_join_requests(struct bonding *bond)queue_delayed_work (bond->wq, &bond->mcast_work,HZ /5 ); }write_unlock_bh (&bond->curr_slave_lock); -read_unlock (&bond->lock); }static void bond_resend_igmp_join_requests_delayed (struct work_struct *work)
Signature · 1 line
1.8.1.4
Quoted 3 lines · Sat, Jul 27, 2013 at 07:10:10PM CEST, [email protected] wrote:
After commit
4aa5dee4d9("net: convert resend IGMP to notifier event") we have 1read_unlockinbond_resend_igmp_join_requestswhich isn't paired with aread_lockbecause it's removed by that commit.
Oups
Quoted 2 lines
Signed-off-by Nikolay Aleksandrov <[email protected]>
Quoted 23 lines
---
drivers/net/bonding/bond_main.c| 1 -1 file changed, 1 deletion(-)drivers/net/bonding/bond_main.c +0
-1@@ -739,7 +739,6 @@ static void bond_resend_igmp_join_requests(struct bonding *bond)queue_delayed_work (bond->wq, &bond->mcast_work,HZ /5 ); }write_unlock_bh (&bond->curr_slave_lock); -read_unlock (&bond->lock); }static void bond_resend_igmp_join_requests_delayed (struct work_struct *work)Signature · 6 lines
1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Jiri Pirko <[email protected]>
Date: Sat, 27 Jul 2013 22:07:54 +0200
Quoted 10 lines
Quoted 3 lines · Sat, Jul 27, 2013 at 07:10:10PM CEST, [email protected] wrote:
After commit
4aa5dee4d9("net: convert resend IGMP to notifier event") we have 1read_unlockinbond_resend_igmp_join_requestswhich isn't paired with aread_lockbecause it's removed by that commit.Oups
Quoted 2 lines
Signed-off-by Nikolay Aleksandrov <[email protected]>Reviewed-by Jiri Pirko <[email protected]>
Applied, thanks.