]> git.proxmox.com Git - mirror_qemu.git/commit
net: Allocating Large sized arrays to heap
authorPooja Dhannawat <dhannawatpooja1@gmail.com>
Mon, 28 Mar 2016 12:34:11 +0000 (18:04 +0530)
committerJason Wang <jasowang@redhat.com>
Wed, 6 Apr 2016 01:52:07 +0000 (09:52 +0800)
commit74044c8ffc10c2cfd76f80c785c3f6a6f101a662
tree6b5a2f2ef7d8d1715c55a6e5924426142aace883
parenta1555559ab5bad24fcd1c56fd39284afad8f5af7
net: Allocating Large sized arrays to heap

nc_sendv_compat has a huge stack usage of 69680 bytes approx.
Moving large arrays to heap to reduce stack usage.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Pooja Dhannawat <dhannawatpooja1@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/net.c