Unverified Commit 1f561a9f by Shane Chen Committed by Stéphane Graber

adding warning for mtu ignoring

parent 6def4323
......@@ -3549,6 +3549,10 @@ int lxc_assign_network(struct lxc_list *network, pid_t pid)
if (netdev->type == LXC_NET_VETH && !am_root) {
if (unpriv_assign_nic(netdev, pid))
return -1;
if (netdev->mtu)
INFO("mtu ignored due to insufficient privilege");
// lxc-user-nic has moved the nic to the new ns.
// unpriv_assign_nic() fills in netdev->name.
// netdev->ifindex will be filed in at setup_netdev.
......
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