[libvirt] [PATCH v2 0/2] lxc: Fix a bug related to IPv{4, 6} gateway persistent setting.

Julio Faracco posted 2 patches 5 years, 4 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20181128033857.30303-1-jcfaracco@gmail.com
There is a newer version of this series
src/lxc/lxc_native.c                          |  3 ++
.../lxcconf2xml-miscnetwork-v3.config         | 23 ++++++++++
.../lxcconf2xml-miscnetwork.config            | 23 ++++++++++
.../lxcconf2xml-miscnetwork.xml               | 45 +++++++++++++++++++
tests/lxcconf2xmltest.c                       |  2 +
5 files changed, 96 insertions(+)
create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-miscnetwork-v3.config
create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-miscnetwork.config
create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-miscnetwork.xml
[libvirt] [PATCH v2 0/2] lxc: Fix a bug related to IPv{4, 6} gateway persistent setting.
Posted by Julio Faracco 5 years, 4 months ago
This serie fixes a bug related to IPv{4,6} gateway settings when it is
defined and used with multiple network definitions. Basically, this data
is being carried on to the next network settings because the pointer is
not being cleaned up/initialized properly.

This serie add a new test case to cover this scenario too. It will be so
important to network index implemented on LXC 3.X.

v1-v2: Fixing tabs inside the code.

Julio Faracco (2):
  lxc: Initializing IPv6 and IPv4 gateway to overwrite old settings.
  tests: Adding test case to include multiple network definitions.

 src/lxc/lxc_native.c                          |  3 ++
 .../lxcconf2xml-miscnetwork-v3.config         | 23 ++++++++++
 .../lxcconf2xml-miscnetwork.config            | 23 ++++++++++
 .../lxcconf2xml-miscnetwork.xml               | 45 +++++++++++++++++++
 tests/lxcconf2xmltest.c                       |  2 +
 5 files changed, 96 insertions(+)
 create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-miscnetwork-v3.config
 create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-miscnetwork.config
 create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-miscnetwork.xml

-- 
2.19.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list