Comment 13 for bug 1543534

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/17120
Committed: http://github.org/Juniper/contrail-vrouter/commit/0c8185aea2ede0bac881d96bb0818389966d1c26
Submitter: Zuul
Branch: master

commit 0c8185aea2ede0bac881d96bb0818389966d1c26
Author: Anand H. Krishnan <email address hidden>
Date: Thu Feb 11 08:54:19 2016 +0530

Do not do a 'preset' on mirror packets

When a packet comes from vhost, we typically accept the layer 2
header that is supplied by the host and hence a 'preset' is done
to reset the packet to what it was before it entered vRouter.
Unfortunately, this was also done for packets those mirrored such
packets, leading to offset issues since we do end up adding a lot
more headers than what the original packets contain. This leads to
wrong length calculation and hence searching for more skbs than
that is originally present and a crash.

Change-Id: I906e7e3417c84ad567cf4b822187929b2a609b68
Closes-BUG: #1543534