From: Thomas Parrott Date: Tue, 9 Jun 2020 08:18:55 +0000 (+0100) Subject: network: Updates netlink_open handling in lxc_ipvlan_create X-Git-Tag: lxc-5.0.0~422^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df62850d2a3d0e7bb03d72e4c4b6ae6cd165d7d5;p=thirdparty%2Flxc.git network: Updates netlink_open handling in lxc_ipvlan_create Signed-off-by: Thomas Parrott --- diff --git a/src/lxc/network.c b/src/lxc/network.c index 1c42d347f..7c7d521e6 100644 --- a/src/lxc/network.c +++ b/src/lxc/network.c @@ -748,7 +748,7 @@ static int lxc_ipvlan_create(const char *master, const char *name, int mode, int err = netlink_open(nlh_ptr, NETLINK_ROUTE); if (err) - return ret_errno(-err); + return err; nlmsg = nlmsg_alloc(NLMSG_GOOD_SIZE); if (!nlmsg)