Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
1f561a9f
Unverified
Commit
1f561a9f
authored
Jun 01, 2017
by
Shane Chen
Committed by
Stéphane Graber
Aug 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding warning for mtu ignoring
Signed-off-by:
Shane Chen
<
ss1ha3tw@gmail.com
>
parent
6def4323
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
conf.c
src/lxc/conf.c
+4
-0
No files found.
src/lxc/conf.c
View file @
1f561a9f
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment