diff options
author | Damjan Marion <damarion@cisco.com> | 2016-06-10 19:26:54 +0200 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2016-06-15 16:38:41 +0200 |
commit | 1f25d1a2ec19283635b039e527edcee0e9301748 (patch) | |
tree | 33263f2958cd3dc2a1a449f65860c8ae7ac125c6 /src/vnet/devices/virtio/virtio.c | |
parent | a55cf2c1e5ee791e7bc1d657c75eb65255ce050f (diff) |
Fix double-enqueued packet in interface-output dual-loop, fixes VPP-116
When speculative enqueue fails and a buffer needs to be moved to a new
node queue the original buffer is not correctly removed from the
original queue so buffer get send for transmit and encryption at the
same time. This issue will only be hit with the double loop so low
throughput traffic like pings will not hit the issue. This code path is
also only hit when the feature flag is enabled so will not be hit by
normal traffic
Patch also reorgnizes code to reduce number of branches in the interface
output node loop.
Change-Id: I3653400e58bdfd833e6c42823bab51586128b54b
Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/devices/virtio/virtio.c')
0 files changed, 0 insertions, 0 deletions