diff options
author | 2015-01-22 12:41:34 +0000 | |
---|---|---|
committer | 2015-01-26 16:13:15 -0800 | |
commit | 084236d8c53952f14b5cb1741311c80c7fbe8289 (patch) | |
tree | 358670a294b84b7523197607bca7efd27f73bc76 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | sh_eth: Detach net device when stopping queue to resize DMA rings (diff) | |
download | wireguard-linux-084236d8c53952f14b5cb1741311c80c7fbe8289.tar.xz wireguard-linux-084236d8c53952f14b5cb1741311c80c7fbe8289.zip |
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 <ben.hutchings@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions