Messages in this thread | | | Date | Wed, 14 Mar 2012 21:58:46 +0800 | From | Cong Wang <> | Subject | Re: [PATCH net V2] bonding: send igmp report for its master |
| |
On 03/14/2012 11:37 AM, Weiping Pan wrote: > diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c > index 435984a..300c490 100644 > --- a/drivers/net/bonding/bond_main.c > +++ b/drivers/net/bonding/bond_main.c > @@ -794,6 +794,14 @@ static void bond_resend_igmp_join_requests_delayed(struct work_struct *work) > { > struct bonding *bond = container_of(work, struct bonding, > mcast_work.work); > + struct net_device *bond_dev, *master_dev = NULL; > + bond_dev = bond->dev;
IIRC, you need to hold read_lock for this...
| |