summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2016-08-30 08:04:15 -0700
committerMichael S. Tsirkin <mst@redhat.com>2016-09-09 21:12:45 +0300
commit5e59d9a1aed26abcc79abe78af5cfd34e53cbe7f (patch)
tree9c34949bcb829727a52e68fd7bf48d3b942b7a89 /net/ipv4/tcp_ipv4.c
parentaf7c1beccfd98bad752644dc14ea93805d65b2c9 (diff)
virtio_console: Stop doing DMA on the stack
virtio_console uses a small DMA buffer for control requests. Move that buffer into heap memory. Doing virtio DMA on the stack is normally okay on non-DMA-API virtio systems (which is currently most of them), but it breaks completely if the stack is virtually mapped. Tested by typing both directions using picocom aimed at /dev/hvc0. Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions