[PATCHv2 08/11] fec: fix uninitialized rx buffer usage

Grant Likely grant.likely at secretlab.ca
Wed Feb 3 11:46:24 EST 2010


On Tue, Feb 2, 2010 at 10:16 PM, Amit Kucheria
<amit.kucheria at canonical.com> wrote:
> From: Rob Herring <r.herring at freescale.com>
>
> The fec driver was enabling receive buffer descriptor without allocating
> the buffers. Make sure the buffer descriptors are initialized to not
> start receiving packets.
>
> Open also calls fec_restart after the rx buffers are allocated. With the code
> in fec_restart, it zeroes out the buffer descriptors that have just been
> setup.

fec related patches 8 & 9 look okay to me.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.



More information about the linux-arm-kernel mailing list