Re: [PATCH] skge: restore multicast rx filter on resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Mon, 26 Dec 2011 15:17:54 -0500 (EST)
David Miller <davem@xxxxxxxxxxxxx> wrote:

> From: Florian Zumbiehl <florz@xxxxxxxx>
> Date: Sun, 25 Dec 2011 09:18:33 +0100
> 
> > skge: restore multicast rx filter on resume
> >     
> > Signed-off-by: Florian Zumbiehl <florz@xxxxxxxx>
> 
> Stephen?  This one looks fine to me.
> 
> > diff --git a/drivers/net/skge.c b/drivers/net/skge.c
> > index f4be5c7..cd968e5 100644
> > --- a/drivers/net/skge.c
> > +++ b/drivers/net/skge.c
> > @@ -4046,6 +4046,7 @@ static int skge_resume(struct device *dev)
> >  				dev_close(dev);
> >  				goto out;
> >  			}
> > +			skge_set_multicast(dev);
> >  		}
> >  	}
> >  out:

Right idea, but it needs to be done in a different spot to catch
all the other device restart cases like changing settings.


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Kernel Discussion]     [Ethernet Bridging]     [Linux Wireless Networking]     [Linux Bluetooth Networking]     [Linux Networking Users]     [VLAN]     [Git]     [IETF Annouce]     [Linux Assembly]     [Security]     [Bugtraq]     [Photo]     [Singles Social Networking]     [Yosemite Information]     [MIPS Linux]     [ARM Linux Kernel]     [ARM Linux]     [Linux Virtualization]     [Linux Security]     [Linux IDE]     [Linux RAID]     [Linux SCSI]     [Free Dating]

Add to Google Powered by Linux