[lxc-devel] [lxc/lxc] b316d2: network: don't delete net devs we didn't create

GitHub noreply at github.com
Wed May 31 17:17:38 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: b316d20945119ee92a82221cf916655f776f719e
      https://github.com/lxc/lxc/commit/b316d20945119ee92a82221cf916655f776f719e
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  network: don't delete net devs we didn't create

When we didn't create a net dev we should make sure that we don't delete it.  We
can simply check whether we have index for it. If not, we didn't create it.

Closes #1600.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: bf3e9c154e4ad1b55de6998fbcf680e7c612807e
      https://github.com/lxc/lxc/commit/bf3e9c154e4ad1b55de6998fbcf680e7c612807e
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2017-05-31 (Wed, 31 May 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  Merge pull request #1601 from brauner/2017-05-30/veth_fixes

network: don't delete net devs we didn't create


Compare: https://github.com/lxc/lxc/compare/f6104dffa3ff...bf3e9c154e4a


More information about the lxc-devel mailing list