Commit df62850d by Thomas Parrott

network: Updates netlink_open handling in lxc_ipvlan_create

parent a789ca4c
......@@ -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)
......
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