commit 00169d499d575e8c750d2c9d7f8182cdd11f85d1
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/11255 github. org/Juniper/ contrail- vrouter/ commit/ 00169d499d575e8 c750d2c9d7f8182 cdd11f85d1
Committed: http://
Submitter: Zuul
Branch: R2.20
commit 00169d499d575e8 c750d2c9d7f8182 cdd11f85d1
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