[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120412170350.GD28204@mudshark.cambridge.arm.com>
Date: Thu, 12 Apr 2012 18:03:50 +0100
From: Will Deacon <will.deacon@....com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Steve Glendinning <steve.glendinning@...c.com>
Subject: Re: [PATCH] net: smsc911x: fix RX FIFO fastforwarding when dropping
packets
On Thu, Apr 12, 2012 at 05:08:00PM +0100, Eric Dumazet wrote:
> On Thu, 2012-04-12 at 16:54 +0100, Will Deacon wrote:
> > net: smsc911x: fix skb handling in receive path
> >
> > The SMSC911x driver resets the ->head, ->data and ->tail pointers in the
> > skb on the reset path in order to avoid buffer overflow due to packet
> > padding performed by the hardware.
> >
> > This patch fixes the receive path so that the skb pointers are fixed up
> > after the data has been read from the device, The error path is also
> > fixed to use number of words consistently and prevent erroneous FIFO
> > fastforwarding when skipping over bad data.
> >
> > Signed-off-by: Will Deacon <will.deacon@....com>
[...]
> Seems fine to me
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Thanks, Eric. Given that Steve's email doesn't appear to be working, can
somebody else pick this up please?
Cheers,
Will
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists