https://github.com/torvalds/linux
Revision 084236d8c53952f14b5cb1741311c80c7fbe8289 authored by Ben Hutchings on 22 January 2015, 12:41:34 UTC, committed by David S. Miller on 27 January 2015, 00:13:15 UTC
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 <ben.hutchings@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent bd88891
History
Tip revision: 084236d8c53952f14b5cb1741311c80c7fbe8289 authored by Ben Hutchings on 22 January 2015, 12:41:34 UTC
sh_eth: Fix crash or memory leak when resizing rings on device that is down
Tip revision: 084236d
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.8 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.0 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 292.1 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top