diff options
author | Pierre Pfister <ppfister@cisco.com> | 2017-10-05 14:24:05 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-10-09 03:37:58 +0000 |
commit | 56a868429b76a7817db37afa874affafcc791489 (patch) | |
tree | d4239403251191587111311f2c4be774d468788b /src/vnet/ipsec/ipsec_input.c | |
parent | c2e63feb6209ef504753fe2c975cf61b1c31b5cf (diff) |
fix buffer allocation for sparse jumbo frames in vhost
A bug was reported where a jumbo packet would stay in vhost
queue forever or until a large enough number of other packets
arrived in the queue too.
This is due to a bug in vhost input node buffer allocation.
The fix is to make sure that vhost always allocates at least
enough buffers for one single big packet. '40' is used to
account for 65kB frames.
Change-Id: I1d293028854165083e30cd798fab9d4140230b78
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
(cherry picked from commit 67700d41169ac37d21c400949a316750eabad969)
Diffstat (limited to 'src/vnet/ipsec/ipsec_input.c')
0 files changed, 0 insertions, 0 deletions