vhost user buffer allocation and counter fix for 1609 62/2762/2
authorPierre Pfister <ppfister@cisco.com>
Fri, 9 Sep 2016 12:50:35 +0000 (13:50 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Mon, 12 Sep 2016 07:59:35 +0000 (07:59 +0000)
commit861698f9f10166535f825de22ec5e80f6e557c5e
tree8dbd686feb346fb7d2b35b32394d2311abfafbfa
parenta4b01cb2b455d25a58730c19fe52ed82295c8d3c
vhost user buffer allocation and counter fix for 1609

This patch backports parts of ba1d04641454 to 1609 branch:
- Bug allocation error (Not enough buffers were allocated)
- Dropped packet counting bugfix

Those fixes are more critical than what I expected.

DO NOT CHERRY-PICK TO MASTER
Sorry for the inconveniance.

Change-Id: I96bd9beb54924ab13fc87e6d4546cd9fa4dd6725
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
vnet/vnet/devices/virtio/vhost-user.c