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
d2f8b272
Commit
d2f8b272
authored
Jun 09, 2020
by
Thomas Parrott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
network: Adds free_ovs_veth_vlan_args and allows trunks field to be freed
Signed-off-by:
Thomas Parrott
<
thomas.parrott@canonical.com
>
parent
bfc01164
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
network.c
src/lxc/network.c
+5
-1
No files found.
src/lxc/network.c
View file @
d2f8b272
...
@@ -421,9 +421,13 @@ struct ovs_veth_vlan_args {
...
@@ -421,9 +421,13 @@ struct ovs_veth_vlan_args {
const
char
*
nic
;
const
char
*
nic
;
const
char
*
vlan_mode
;
/* Port VLAN mode. */
const
char
*
vlan_mode
;
/* Port VLAN mode. */
short
vlan_id
;
/* PVID VLAN ID. */
short
vlan_id
;
/* PVID VLAN ID. */
c
onst
char
*
trunks
;
/* Comma delimited list of tagged VLAN IDs. */
c
har
*
trunks
;
/* Comma delimited list of tagged VLAN IDs. */
};
};
static
inline
void
free_ovs_veth_vlan_args
(
struct
ovs_veth_vlan_args
*
args
)
{
free_disarm
(
args
->
trunks
);
}
static
int
lxc_ovs_setup_bridge_vlan_exec
(
void
*
data
)
static
int
lxc_ovs_setup_bridge_vlan_exec
(
void
*
data
)
{
{
...
...
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