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.
Reviewed: https:/ /review. opencontrail. org/17120 github. org/Juniper/ contrail- vrouter/ commit/ 0c8185aea2ede0b ac881d96bb08183 89966d1c26
Committed: http://
Submitter: Zuul
Branch: master
commit 0c8185aea2ede0b ac881d96bb08183 89966d1c26
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: I906e7e3417c84a d567cf4b8221879 29b2a609b68
Closes-BUG: #1543534