vhost-user: fix missing speculative enqueue unwind 22/5022/1
authorSteven <[email protected]>
Fri, 3 Feb 2017 17:30:37 +0000 (09:30 -0800)
committerDamjan Marion <[email protected]>
Fri, 3 Feb 2017 19:56:35 +0000 (20:56 +0100)
commite23472662cfac98649b3cbc7a2a3b80806ade54f
tree2bc01abe3da1d47146c8d33deeb9033e966c4f93
parent43c9c959ff42e8357bb6ad62565ce931cfda9f72
vhost-user: fix missing speculative enqueue unwind

Running trex in a VM with a bad config, trex sent a bogus pack from
the VM to the Virtual interface. It caused a crash.

Change-Id: I64d0197b444265553ab4c24f21e6a962e89cb587
Signed-off-by: Steven <[email protected]>
vnet/vnet/devices/virtio/vhost-user.c