From: Rob Herring Date: Fri, 5 Feb 2010 08:56:20 +0000 (+0000) Subject: fec: fix uninitialized rx buffer usage X-Git-Tag: v2.6.34-rc1~233^2~389 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=633e7533cec78b99d806248e832fc83e689d2453;p=pandora-kernel.git 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 Signed-off-by: Amit Kucheria Acked-by: Grant Likely Acked-by: Greg Ungerer Signed-off-by: David S. Miller --- Reading git-diff-tree failed