lkml.org 
[lkml]   [2012]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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...



\
 
 \ /
  Last update: 2012-03-14 15:01    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site