diff options
| author | Rob Herring <[email protected]> | 2010-02-05 08:56:20 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-02-10 13:05:42 -0800 |
| commit | 633e7533cec78b99d806248e832fc83e689d2453 (patch) | |
| tree | ce20891b9038d35d21687957491383ed9e167ce8 /include/linux/debugobjects.h | |
| parent | 67de792420be2daa1c6fec07ec8552af9ea0bde3 (diff) | |
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 <[email protected]>
Signed-off-by: Amit Kucheria <[email protected]>
Acked-by: Grant Likely <[email protected]>
Acked-by: Greg Ungerer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions