It will be used by connection tracking tests.

Signed-off-by: Daniele Di Proietto <diproiet...@vmware.com>
---
 lib/flow.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/flow.c b/lib/flow.c
index a57a92d..aa3bb49 100644
--- a/lib/flow.c
+++ b/lib/flow.c
@@ -2228,6 +2228,7 @@ flow_compose_l4(struct dp_packet *p, const struct flow 
*flow)
             udp = dp_packet_put_zeros(p, l4_len);
             udp->udp_src = flow->tp_src;
             udp->udp_dst = flow->tp_dst;
+            udp->udp_len = htons(l4_len);
         } else if (flow->nw_proto == IPPROTO_SCTP) {
             struct sctp_header *sctp;
 
-- 
2.8.1

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to