net/virtio: zero the whole memory zone
authorTiwei Bie <tiwei.bie@intel.com>
Mon, 12 Jun 2017 04:34:30 +0000 (12:34 +0800)
committerYuanhan Liu <yliu@fridaylinux.org>
Fri, 16 Jun 2017 12:04:25 +0000 (14:04 +0200)
commit5bdd24e451c711129218c88292cae8e891e7506a
treefb077d9e7077473dad7708a405ea1b060a17ca26
parentebd792b386097d40164c81e055a18f1adfa95d8d
net/virtio: zero the whole memory zone

Zero the whole memory zone instead of the first few bytes.

Fixes: c1f86306a026 ("virtio: add new driver")
Cc: stable@dpdk.org
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
drivers/net/virtio/virtio_ethdev.c