commit 6f2edd76d32348cf02a9f1c4b4bc0927532358f2
Author: Anand H. Krishnan <email address hidden>
Date: Wed Jun 3 16:41:39 2015 +0530
Pull a transport header only if one is present
When packets arrive from a vm/fabric, we try to pull all data till
the first 8 bytes of a transport header into the first buffer so
that linear access to data is possible (keys to flow is what we
look for in the transport header). We do this operation
without checking whether the packet is a fragment or not and such
an unconditional attempt at pull can result in pull failures for
fragments whose data length is less that 8.
Hence, pull only for packets that have a valid transport header and
that has a trapsort protocol we recognize.
Reviewed: https:/ /review. opencontrail. org/11231 github. org/Juniper/ contrail- vrouter/ commit/ 6f2edd76d32348c f02a9f1c4b4bc09 27532358f2
Committed: http://
Submitter: Zuul
Branch: R2.0
commit 6f2edd76d32348c f02a9f1c4b4bc09 27532358f2
Author: Anand H. Krishnan <email address hidden>
Date: Wed Jun 3 16:41:39 2015 +0530
Pull a transport header only if one is present
When packets arrive from a vm/fabric, we try to pull all data till
the first 8 bytes of a transport header into the first buffer so
that linear access to data is possible (keys to flow is what we
look for in the transport header). We do this operation
without checking whether the packet is a fragment or not and such
an unconditional attempt at pull can result in pull failures for
fragments whose data length is less that 8.
Hence, pull only for packets that have a valid transport header and
that has a trapsort protocol we recognize.
Change-Id: Iaf8ec480bef045 c774630a7c0cc9a fbc867a6062
Closes-BUG: #1460218