Unverified Commit ebd26a19 by Thomas Parrott Committed by Stéphane Graber

network: Updates netlink_open handling in lxc_ipvlan_create

parent f36a519a
...@@ -559,7 +559,7 @@ static int lxc_ipvlan_create(const char *master, const char *name, int mode, int ...@@ -559,7 +559,7 @@ static int lxc_ipvlan_create(const char *master, const char *name, int mode, int
err = netlink_open(nlh_ptr, NETLINK_ROUTE); err = netlink_open(nlh_ptr, NETLINK_ROUTE);
if (err) if (err)
return ret_errno(-err); return err;
nlmsg = nlmsg_alloc(NLMSG_GOOD_SIZE); nlmsg = nlmsg_alloc(NLMSG_GOOD_SIZE);
if (!nlmsg) if (!nlmsg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment