summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch/openvswitch-git
Commit message (Collapse)AuthorAgeFilesLines
* openvswitch: fix CVE-2020-35498 limitation in the OVS packet parsingdunfellHitendra Prajapati2024-05-131-0/+151
| | | | | | | Upstream-Status: Backport https://github.com/openvswitch/ovs/commit/0625dc79aec73b966f206e55655a2816696246d0 Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: CVE-2021-3905 External triggered memory leakHitendra Prajapati2022-09-201-0/+28
| | | | | | | | | | | | | | | Source: https://gitlab.com/libvirt/libvirt MR: 121447 Type: Security Fix Disposition: Backport from https://github.com/openvswitch/ovs/commit/803ed12e31b0377c37d7aa8c94b3b92f2081e349 ChangeID: 8f3a31bbf11be6a5aef9b7cf6ed1c2e56c28ff44 Description: CVE-2021-3905 openvswitch: External triggered memory leak in Open vSwitch while processing fragmented packets. Affects openvswitch < 2.17.0 Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch-git: refresh patch to fix patch-fuzz warningChangqing Li2020-03-021-2/+4
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from v2.12 to v2.13Mark Asselstine2020-02-203-74/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Another straightforward uprev with one fairly large change in the changelog. The Open Virtual Network component has now been moved to its own repo (https://github.com/ovn-org/ovn.git). If you were using this functionality a new recipe will need to be created. The ptest results are similar to after the v2.12 uprev ERROR: 2206 tests were run, 28 failed unexpectedly. 62 tests were skipped. The failed tests were in the following areas: checkpatch.at (5) ovs-ofctl.at (1) tunnel.at(1) tunnel-push-pop.at(3) tunnel-push-pop-ipv6.at(3) dpif-netdev.at (1) pmd.at(1) ofproto-dpif.at (7) bridge.at (2) ovsdb-idl.at(1) mcast-snooping.at(1) packet-type-aware.at(2) None of these affect core functionality or usecases and are similar to the results we see with v1.12. If specific usecases are affected by these failures we should address them on a need to fix basis. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from v2.11 to v2.12Mark Asselstine2020-02-134-21/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A mostly straightforward uprev. Unfortunately a required patch for python3 is only available on a non-release branch so we must carry it in order to build (the discussion on the mailing list was that an uprev might have avoided this, but this is not the case). The ptest results are similar to after the v2.11 uprev ERROR: 2413 tests were run, 23 failed unexpectedly. 383 tests were skipped. NOTE, however, that they have now marked many tests as 'skipped', such as the python2 results, so the failed and skipped numbers have essentially swapped with each other. The failed tests were in the following areas: checkpatch.at (5) ovs-ofctl.at (1) dpif-netdev.at (1) ofproto-dpif.at (6) bridge.at (2) ovn.at (2) ovn-controller-vtep.at (6) Most were issues with the test or expectations that source code would be available. There might be an issue around packaging of "/vswitchd/vswitch.ovsschema" but we should be able to overlook this for now, as we have with previous versions. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from v2.10.1 to v2.11Hongzhi.Song2019-02-031-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | The v2.11 version fixed a bug as follow. Error info: ovs|00002|db_ctl_base|ERR|external-ids:hostname=: argument does not end in "=" followed by a value. The result of ptest between v2.11 and v2.10.1 is similar. v2.11: ERROR: 2765 tests were run, 317 failed (1 expected failure). 85 tests were skipped. v2.10.1: ERROR: 2662 tests were run, 311 failed (1 expected failure). 85 tests were skipped. I checked the detailed result. The failed tests were mostly related to python2 as the image only use python3. Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from 2.10.0 to 2.10.1Mark Asselstine2018-11-291-0/+0
| | | | | | Pickup the latest security and bug fixes for openvswitch. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
* openvswitch: fixup the ovsdb-server.serviceMark Asselstine2018-09-042-6/+39
| | | | | | | | | The service currently fails to run since the runtime directories aren't being created. Create the runtime directories and fixup the path to echo to get things working again. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev to v2.10.0Mark Asselstine2018-09-042-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | The current version (v2.9.3) started to fail to build due to changes in openssl. Upstream must have run into similar issues as this was identified and addressed in v2.10.0 by including a copy of 'dhparams.c' instead of relying on it being generated. (see commit "dhparams: Add pregenerated .c file to the repository.") Additionally v2.10.0 is better aligned for our kernel and dpdk versions: kernel === 2.10.x 3.10 to 4.17 dpdk === 2.10.x 17.11.3 The changes in this commit allow for the building of v2.10.0. A second commit will be necessary to deal with a few runtime changes which prevent ovsdb-server from starting correctly. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: remove unused patchesMark Asselstine2018-06-0510-1789/+0
| | | | | | | | | commit 1fd1ff372014 [openvswitch: uprev to v2.9.2] left a bunch of unused patches in place. Remove unreferenced patches as they are no longer needed. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev to v2.9.2Mark Asselstine2018-06-033-4/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings us up to date with the latest upstream release. I suspect there will be an upcoming release to add compatibility with DPDK v18.05 (the DPDK release is due out any day now) but getting this fairly large release bump out of the way first will facilitate any upcoming uprev. We are able to drop they python3 patches as they have been merged upstream. Some scripts which needed to be updated to use python3 disappeared, new ones appeared so the 'use python3' patches are updated accordingly. Beyond this the biggest change is related to the systemd unit files, the ovsdb-server has been updated upstream to be generated on the fly via the spec file, we mimic this in the install_prepend. We also add the various configuration files which the unit files source before launching the services. As usual this was tested against out typical usecases including usage in meta-overc. As well the ptests have been run and the results are no better or worse. Previous version: ERROR: 2332 tests were run, 21 failed unexpectedly. 3 tests were skipped. New version: ERROR: 2527 tests were run, 29 failed unexpectedly. 3 tests were skipped. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: refresh patches to fix QA warningYi Zhao2018-04-1614-114/+75
| | | | | | | | Refresh patches with devtool command to fix do_patch warning. Drop CVE-2017-9263.patch since it had been fixed upstream. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev to 2.7.3 (latest 2.7.x stable)Mark Asselstine2018-01-291-0/+0
| | | | | | | | | Eventually we will have to move to OVS 2.8.x or 2.9.x to support the version of DPDK in meta-dpdk but before we make a version jump(s) let's uprev to the latest 2.7.x stable release. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: backport py3 fixupsMark Asselstine2017-07-138-0/+1664
| | | | | | | | | | | | | | | While attempting to get ovs to be built and run with py3 (completely free of py2) host contamination was found (builds on hosts without python-six installed would fail). It was also determined that pyc files were still being generated with py2 and not py3. This resulted in more work being done to achieve the desired results. This work was sent upstream and subsequently merged. Unfortunately this didn't make v2.7.1 and may not be available until the next major release, so here we backport these commits and adjust the recipe to get a clean py3 only build. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev to v2.7.1Mark Asselstine2017-07-131-0/+0
| | | | | | | | | | | Released at the end of June 2017 this is a bugfix release with no major functional changes. Surprisingly the patch for CVE-2017-9263 is still not applied upstream so we continue to carry this change. The remaining patches were audited and cleaned up as needed. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: Fix CVE-2017-9263Fan Xin2017-06-131-0/+29
| | | | | | | Backport patch file to fix CVE-2017-9263 Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev to the recently released v2.7.0Mark Asselstine2017-03-292-35/+5
| | | | | | | | | | | | | | | This version of OVS was released on Feb. 21. Bringing our recipe up to date with the latest release ensure we have all the latest CVE fixes as well as any new functionality that folks might be looking for. Additionally we are better situated to support up to date releases of DPDK (v16.11 in this case). No surprises with the uprev, it passes all usecase tests (meta-overc) and ptest results are much the same as the results we had in v2.6.1. While completing the uprev I took the opportunity to do some cleanup of patches that were no longer used or required. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: Fix build with musl libcKhem Raj2017-03-212-0/+66
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev to 2.6.1Mark Asselstine2017-01-121-0/+0
| | | | | | | | | | | | | | | Pick up the latest features, including compatability with the latest DPDK as well as bug fixes. The patches for TARGET_PYTHON and TARGET_PERL can be dropped as configure now lets us pass these in the env (which we set). The systemd service files have been shuffled some upstream and we make adjustments in the recipe to accomodate these. The sysvinit scripts remain functional as they are. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: ptest: Fix python pathHe Zhe2016-04-191-0/+30
| | | | | | | Set PYTHON to TARGET_PYTHON for running on target Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: Fix ptest for v2.5He Zhe2016-04-051-19/+60
| | | | | | | | | | | - Copy certain files from srcdir since it has been different from build directory. - Copy more necessary files for new added test cases. - Modify config files for running on target. - Add necessary RDEPENDS Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: Uprev to latest version 2.5.0He Zhe2016-03-311-3/+3
| | | | | | | Uprev to git rev bb429e09f7783f1ba23ac0682ed9edf424f0cfbb (based on 2.5.0) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: Uprev to latest stable version 2.4.0Jianchuan Wang2015-11-032-20/+2
| | | | | | | | | Uprev to git rev bb429e09f7783f1ba23ac0682ed9edf424f0cfbb (based on 2.4.0) - Remove non_reproducible_builds_cleanup.patch since it have been in the version 2.4.0. Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Package openvswitch gitAmy Fong2015-02-034-0/+125
This revision corresponds to git rev 1667bb34988358aaf1c92d0d21fad4b1c8698780 (based on 2.3.90) Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>