[ovs-build] Broken: openvswitch/ovs#5323 (branch-2.8 - 35ab152)

Travis CI builds at travis-ci.org
Wed Sep 27 00:02:00 UTC 2017


Build Update for openvswitch/ovs
-------------------------------------

Build: #5323
Status: Broken

Duration: 1 hour, 8 minutes, and 50 seconds
Commit: 35ab152 (branch-2.8)
Author: Zoltan Balogh
Message: netdev-dpdk: reset packet_type for reused dp_packets.

DPDK uses dp-packet pool for storing received packets. The pool is
reused by rxq_recv funcions of the DPDK netdevs. The datapath is
capable to modify the packet_type property of packets. For instance
when encapsulated L3 packets are received on a ptap gre port.
In this case the packet_type property of struct dp_packet can be
modified and later the same dp_packet with the modified packet_type
can be reused in the rxq_rec function, so it can contain corrupted
data.

The dp_packet_batch_init_cutlen() in the rxq_recv functions iterates
over dp_packets and sets their cutlen. So I modified this function
to set packet_type to Ethernet for the dp_packets as well. I also
renamed this function because of the added functionality.

The dp_packet_batch_init_cutlen() iterates over batch->count dp_packet.
Therefore setting of batch->count = nb_rx needs to be done before the
former function is invoked. This is an additional fix.

Signed-off-by: Zoltan Balogh <zoltan.balogh at ericsson.com>
Signed-off-by: Laszlo Suru <laszlo.suru at ericsson.com>
Co-authored-by: Laszlo Suru <laszlo.suru at ericsson.com>
CC: Jan Scheurich <jan.scheurich at ericsson.com>
CC: Sugesh Chandran <sugesh.chandran at intel.com>
CC: Darrell Ball <dlu998 at gmail.com>
Signed-off-by: Darrell Ball <dlu998 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>

View the changeset: https://github.com/openvswitch/ovs/compare/d14a88ef42b2...35ab152175bf

View the full build log and details: https://travis-ci.org/openvswitch/ovs/builds/280188117?utm_source=email&utm_medium=notification

--

You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20170927/fdeb6f47/attachment-0001.html>


More information about the build mailing list