diff options
author | Steven <sluong@cisco.com> | 2017-05-16 21:26:13 -0700 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-05-17 09:49:44 +0000 |
commit | 025d4151e2d7627aa771d577d405464a276039ad (patch) | |
tree | 6129483f516c578a47f908cf8d2f5ee53f30b709 /src/vnet/dpo | |
parent | 01034be6738b9bd072a3d3cfdeb1b900aac2b54f (diff) |
vhost: bad packet assembled from descriptor chaining
When the descriptor is chained via multiple parts, vhost is supposed
to reassemble the different parts to form a packet prior to passing
the packet to the next input node. However, bad packet was seen, having
bad ethertype, source, and destination mac addresses.
The problem was due to the destination pointer not being incremented as
each chain is processed. THe result was the first chain is copied to the
beginning of the buffer, the next chain is copied, then the last chain
is also copied to the beginning of the buffer. As a result, the ethertype,
source and destination mac, etc, are being overwritten by the very last
chain of the descriptor.
Change-Id: I78f9a91de68c85574047912576dcc311d7597e21
Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/vnet/dpo')
0 files changed, 0 insertions, 0 deletions