vhost-user: fix crash in vhost_user_intfc_tx (VPP-519) 29/3629/2
authorDamjan Marion <damarion@cisco.com>
Fri, 28 Oct 2016 21:52:40 +0000 (23:52 +0200)
committerDave Barach <openvpp@barachs.net>
Mon, 31 Oct 2016 16:39:18 +0000 (16:39 +0000)
commitff7d642f3db5302e1fe70b6f1b9afdb4c63fa1d8
tree706039d1ee26a2c9bd0a2be33faf81d9b44fce7c
parent860dacc3bdda67d493a5f248c28bd193f7870d23
vhost-user: fix crash in vhost_user_intfc_tx (VPP-519)

The crash was the result of indexing off the end of the next[] array.
Removing that prefetch code completelly, as it is questionable
how much it helps so late in the game.

Change-Id: I7bc83483a1088437edb4ac0f95a54c39afce136b
Signed-off-by: Damjan Marion <damarion@cisco.com>
vnet/vnet/devices/virtio/vhost-user.c