Skip to contentSkip to conversation

bonding: remove bond_resend_igmp_join_requests read_unlock leftover

PATCH Applied Nikolay Aleksandrov 3 participants 3 messages Jul 27, 2013 – Jul 28, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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
index f584352..da3af63 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
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 1 read_unlock in bond_resend_igmp_join_requests which isn't paired with a read_lock because it's removed by that commit.

Oups

Quoted 2 lines
Quoted 23 lines

---
drivers/net/bonding/bond_main.c | 1 -

1 file changed, 1 deletion(-)
drivers/net/bonding/bond_main.c +0 -1
index f584352..da3af63 100644
@@ -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
maintainer Applied
#2 lore raw

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 1 read_unlock in bond_resend_igmp_join_requests which isn't paired with a read_lock because it's removed by that commit.

Oups

Quoted 2 lines

Applied, thanks.