diff options
author | Rob Herring | 2010-02-05 09:56:20 +0100 |
---|---|---|
committer | David S. Miller | 2010-02-10 22:05:42 +0100 |
commit | 633e7533cec78b99d806248e832fc83e689d2453 (patch) | |
tree | ce20891b9038d35d21687957491383ed9e167ce8 /scripts/gcc-x86_64-has-stack-protector.sh | |
parent | net: atm: use seq_list_foo() helpers (diff) | |
download | kernel-qcow2-linux-633e7533cec78b99d806248e832fc83e689d2453.tar.gz kernel-qcow2-linux-633e7533cec78b99d806248e832fc83e689d2453.tar.xz kernel-qcow2-linux-633e7533cec78b99d806248e832fc83e689d2453.zip |
fec: fix uninitialized rx buffer usage
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.
Signed-off-by: Rob Herring <r.herring@freescale.com>
Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gcc-x86_64-has-stack-protector.sh')
0 files changed, 0 insertions, 0 deletions