net/tap: Allocating Large sized arrays to heap
commit11196e95f0521fa6ba689c15f874ad9a2d99e158
authorZhou Jie <zhoujie2011@cn.fujitsu.com>
Tue, 26 Apr 2016 01:26:01 +0000 (26 09:26 +0800)
committerJason Wang <jasowang@redhat.com>
Wed, 25 May 2016 07:46:07 +0000 (25 15:46 +0800)
tree1169e203361f6b400edca6dc61ef72105105756d
parent287db79df8af8e31f18e262feb5e05103a09e4d4
net/tap: Allocating Large sized arrays to heap

net_init_tap has a huge stack usage of 8192 bytes approx.
Moving large arrays to heap to reduce stack usage.

Signed-off-by: Zhou Jie <zhoujie2011@cn.fujitsu.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/tap.c