vhost-user: restart vpp may cause vhost to crash 34/18234/2
authorSteven Luong <sluong@cisco.com>
Wed, 13 Mar 2019 04:35:42 +0000 (21:35 -0700)
committerDamjan Marion <dmarion@me.com>
Wed, 13 Mar 2019 08:21:37 +0000 (08:21 +0000)
commit39382976701926c1f34191c1311829c15a53cb01
tree71033a91e86bd01d19e580796668980d21c4188b
parent295630deb6f0b8d1c131f6be3eedba4c7d209683
vhost-user: restart vpp may cause vhost to crash

Fix a typo in vhost_user_rx_discard_packet which may cause
txvq->last_avail_idx to go wild.

Change-Id: Ifaeb58835dff9b7ea82c061442722f1dcaa5d9a4
Signed-off-by: Steven Luong <sluong@cisco.com>
src/vnet/devices/virtio/vhost_user_input.c