git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd88891
)
sh_eth: Fix crash or memory leak when resizing rings on device that is down
author
Ben Hutchings
<ben.hutchings@codethink.co.uk>
Thu, 22 Jan 2015 12:41:34 +0000
(12:41 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 27 Jan 2015 00:13:15 +0000
(16:13 -0800)
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>
No differences found