[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101022192350.GA10673@suse.de>
Date: Fri, 22 Oct 2010 12:23:50 -0700
From: Greg KH <gregkh@...e.de>
To: Jack Stone <jwjstone@...tmail.fm>
Cc: linux-kernel@...r.kernel.org, stable@...nel.org,
Florian Fainelli <florian@...nwrt.org>,
stable-review@...nel.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, alan@...rguk.ukuu.org.uk,
600155@...s.debian.org, Jason Heeris <jason.heeris@...il.com>,
David Miller <davem@...emloft.net>, spamalot@...peed.ch,
Ben Hutchings <ben@...adent.org.uk>
Subject: Re: [11/17] r6040: Fix multicast list iteration when hash filter
is used
On Fri, Oct 22, 2010 at 08:13:27PM +0100, Jack Stone wrote:
> On 22/10/2010 19:39, Greg KH wrote:
> > drivers/net/r6040.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > --- a/drivers/net/r6040.c
> > +++ b/drivers/net/r6040.c
> > @@ -976,6 +976,7 @@ static void r6040_multicast_list(struct
> > iowrite16(hash_table[3], ioaddr + MAR3);
> > }
> > /* Multicast Address 1~4 case */
> > + dmi = dev->mc_list;
> > for (i = 0, dmi; (i < dev->mc_count) && (i < MCAST_MAX); i++) {
> Any reason for the dmi in the above line? As far as I can see it is a
> nop.
Look closer at the for loop please.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists