[ovs-build] Passed: ovsrobot/ovs#2626 (series_180504 - 036f3d5)

Travis CI builds at travis-ci.org
Mon Jun 1 04:56:44 UTC 2020

Build Update for ovsrobot/ovs

Build: #2626
Status: Passed

Duration: 19 mins and 42 secs
Commit: 036f3d5 (series_180504)
Author: Linhaifeng
Message: ovs rcu: update rcu pointer first

We should update rcu pointer first then use ovsrcu_postpone to free
otherwise maybe cause use-after-free.

e.g, thead are two threads A and B:

1. thread A call ovsrcu_postpone and flush cbset, this time have not
call ovsrcu_quiesce

2. thread rcu wait all threads call ovsrcu_quiesce

3. thread B call ovsrcu_quiesce

4. thread B get the old pointer next round

5. thrad A call ovsrcu_quiesce, now all threads have called ovsrcu_quiesce

6. thread rcu free old pointer

7. thread B use-after-free

Signed-off-by: Linhaifeng <haifeng.lin at huawei.com>
Signed-off-by: 0-day Robot <robot at bytheb.org>

View the changeset: https://github.com/ovsrobot/ovs/commit/036f3d562c71

View the full build log and details: https://travis-ci.org/github/ovsrobot/ovs/builds/693310389?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/20200601/85eb9d57/attachment-0001.html>

More information about the build mailing list