From mboxrd@z Thu Jan 1 00:00:00 1970 From: grant.likely@secretlab.ca (Grant Likely) Date: Wed, 3 Feb 2010 11:38:32 -0700 Subject: [PATCHv2 08/11] fec: fix uninitialized rx buffer usage In-Reply-To: <37786d4b1002031033s15d0b24et82c3f0e45112ae65@mail.gmail.com> References: <240f12ca87d7666f31263aabc620a9ec197cd8ff.1265173480.git.amit.kucheria@canonical.com> <752ae69adb57d4f73fa011ba380cea1b927b9c8b.1265173480.git.amit.kucheria@canonical.com> <37786d4b1002031033s15d0b24et82c3f0e45112ae65@mail.gmail.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Feb 3, 2010 at 11:33 AM, Amit Kucheria wrote: > On Wed, Feb 3, 2010 at 8:46 AM, Grant Likely wrote: >> On Tue, Feb 2, 2010 at 10:16 PM, Amit Kucheria >> wrote: >>> From: Rob Herring >>> >>> 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. > > Can I take that as an Acked-by? of course. g.