diff options
| author | Michael S. Tsirkin <[email protected]> | 2015-11-15 13:11:00 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2015-12-07 14:10:53 +0000 |
| commit | 2ac46030331e2952a56c05bd15d99082fc410088 (patch) | |
| tree | cfb66f323c1d3a8a6ae181c7d201dd8ff767bb99 /drivers/fpga/fpga-mgr.c | |
| parent | Linux 4.4-rc4 (diff) | |
| download | kernel-2ac46030331e2952a56c05bd15d99082fc410088.tar.gz kernel-2ac46030331e2952a56c05bd15d99082fc410088.zip | |
virtio-net: Stop doing DMA from the stack
Once virtio starts using the DMA API, we won't be able to safely DMA
from the stack. virtio-net does a couple of config DMA requests
from small stack buffers -- switch to using dynamically-allocated
memory.
This should have no effect on any performance-critical code paths.
Reported-by: Andy Lutomirski <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Tested-by: Andy Lutomirski <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
