[lxc-devel] [lxc/lxc] b73e59: netlink_open: close socket on error

GitHub noreply at github.com
Wed Apr 6 09:26:48 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: b73e5969ae6208ce39e5204b75d43954e22b3c0b
      https://github.com/lxc/lxc/commit/b73e5969ae6208ce39e5204b75d43954e22b3c0b
  Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
  Date:   2016-04-06 (Wed, 06 Apr 2016)

  Changed paths:
    M src/lxc/nl.c

  Log Message:
  -----------
  netlink_open: close socket on error

All uses of netlink_open() assume that on error the
nl_handler doesn't need to be closed, but some error cases
happen after the socket was opened successfully and used to
simply return -errno.

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>


  Commit: 66c26578bce6fa346be0a7712a9e579b48188a4b
      https://github.com/lxc/lxc/commit/66c26578bce6fa346be0a7712a9e579b48188a4b
  Author: Christian Brauner <christian.brauner at mailbox.org>
  Date:   2016-04-06 (Wed, 06 Apr 2016)

  Changed paths:
    M src/lxc/nl.c

  Log Message:
  -----------
  Merge pull request #949 from Blub/netlink_open_error

netlink_open: close socket on error


Compare: https://github.com/lxc/lxc/compare/5c218031b679...66c26578bce6


More information about the lxc-devel mailing list