commit 3b719332ca0210bc28ea5337c43ca46fc5efa5c2
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/11230 github. org/Juniper/ contrail- vrouter/ commit/ 3b719332ca0210b c28ea5337c43ca4 6fc5efa5c2
Committed: http://
Submitter: Zuul
Branch: master
commit 3b719332ca0210b c28ea5337c43ca4 6fc5efa5c2
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