From: Ben Hutchings Date: Thu, 22 Jan 2015 12:41:34 +0000 (+0000) Subject: sh_eth: Fix crash or memory leak when resizing rings on device that is down X-Git-Tag: fixes-v4.0-rc1~235^2~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=084236d8c53952f14b5cb1741311c80c7fbe8289;p=pandora-kernel.git sh_eth: Fix crash or memory leak when resizing rings on device that is down If the device is down then no packet buffers should be allocated. We also must not touch its registers as it may be powered off. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed