[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120413.140825.574220698055703201.davem@davemloft.net>
Date: Fri, 13 Apr 2012 14:08:25 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: will.deacon@....com
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org,
steve.glendinning@...c.com
Subject: Re: [PATCH] net: smsc911x: fix RX FIFO fastforwarding when
dropping packets
From: Will Deacon <will.deacon@....com>
Date: Thu, 12 Apr 2012 18:03:50 +0100
> 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?
Applied, thanks.
--
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