diff options
author | Anand Kumar <kumaranand@vmware.com> | 2017-05-04 15:12:53 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-05-08 10:01:39 -0400 |
commit | ac8df9f674428e5dfc824deab917cb904afa4461 (patch) | |
tree | 2bb51f2b9d30b018e7efcd15487b9aa4b795e09b /datapath-windows/ovsext/Stt.c | |
parent | 39ccaaf7d1f819cb0fd796f3bdb3c2c8b17f24ed (diff) | |
download | openvswitch-ac8df9f674428e5dfc824deab917cb904afa4461.tar.gz |
datapath-windows: Updated OvsTcpSegmentNBL to handle IP fragments.
With this patch, OvsTcpSegmentNBL not only supports fragmenting NBL
to TCP segments but also Ipv4 fragments.
To reflect the new changes, renamed function name from OvsTcpSegmentNBL
to OvsFragmentNBL and created a wrapper for OvsTcpSegmentNBL.
Signed-off-by: Anand Kumar <kumaranand@vmware.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Diffstat (limited to 'datapath-windows/ovsext/Stt.c')
-rw-r--r-- | datapath-windows/ovsext/Stt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/datapath-windows/ovsext/Stt.c b/datapath-windows/ovsext/Stt.c index 5aa8652d7..1f368358a 100644 --- a/datapath-windows/ovsext/Stt.c +++ b/datapath-windows/ovsext/Stt.c @@ -185,7 +185,7 @@ OvsDoEncapStt(POVS_VPORT_ENTRY vport, if ((innerFrameLen > OVS_MAX_STT_PACKET_LENGTH) || (layers->l4Offset > OVS_MAX_STT_L4_OFFSET_LENGTH)) { *newNbl = OvsTcpSegmentNBL(switchContext, curNbl, layers, - mss - headRoom, headRoom); + mss - headRoom, headRoom, FALSE); if (*newNbl == NULL) { OVS_LOG_ERROR("Unable to segment NBL"); return NDIS_STATUS_FAILURE; |