[ovs-build] Passed: ovsrobot/ovs#3181 (series_207716 - 8d3c62e)

Travis CI builds at travis-ci.org
Wed Oct 14 14:11:34 UTC 2020


Build Update for ovsrobot/ovs
-------------------------------------

Build: #3181
Status: Passed

Duration: 1 hr, 13 mins, and 38 secs
Commit: 8d3c62e (series_207716)
Author: Yi Yang
Message: netdev-dpdk: fix incorrect shinfo initialization

shinfo is used to store reference counter and free callback
of an external buffer, but it is stored in mbuf if the mbuf
has tailroom for it.

This is wrong because the mbuf (and its data) can be freed
before the external buffer, for example:

  pkt2 = rte_pktmbuf_alloc(mp);
  rte_pktmbuf_attach(pkt2, pkt);
  rte_pktmbuf_free(pkt);

After this, pkt is freed, but it still contains shinfo, which
is referenced by pkt2.

Fix this by always storing shinfo at the tail of external buffer.

Fixes: 29cf9c1b3b9c ("userspace: Add TCP Segmentation Offload support")
Co-authored-by: Olivier Matz <olivier.matz at 6wind.com>
Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
Signed-off-by: Yi Yang <yangyi01 at inspur.com>
Signed-off-by: 0-day Robot <robot at bytheb.org>

View the changeset: https://github.com/ovsrobot/ovs/commit/8d3c62e4e7e0

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


--

You can unsubscribe from build emails from the ovsrobot/ovs repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=22285853&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific 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/20201014/6a97eae8/attachment-0001.html>


More information about the build mailing list