Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
aed384c4
Commit
aed384c4
authored
Jul 05, 2004
by
Petr Vandrovec
Committed by
David S. Miller
Jul 05, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[VLAN]: Do not access released memory.
parent
3a4bc665
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/8021q/vlan_dev.c
net/8021q/vlan_dev.c
+1
-1
No files found.
net/8021q/vlan_dev.c
View file @
aed384c4
...
...
@@ -727,7 +727,6 @@ static void vlan_flush_mc_list(struct net_device *dev)
struct
dev_mc_list
*
dmi
=
dev
->
mc_list
;
while
(
dmi
)
{
dev_mc_delete
(
dev
,
dmi
->
dmi_addr
,
dmi
->
dmi_addrlen
,
0
);
printk
(
KERN_DEBUG
"%s: del %.2x:%.2x:%.2x:%.2x:%.2x:%.2x mcast address from vlan interface
\n
"
,
dev
->
name
,
dmi
->
dmi_addr
[
0
],
...
...
@@ -736,6 +735,7 @@ static void vlan_flush_mc_list(struct net_device *dev)
dmi
->
dmi_addr
[
3
],
dmi
->
dmi_addr
[
4
],
dmi
->
dmi_addr
[
5
]);
dev_mc_delete
(
dev
,
dmi
->
dmi_addr
,
dmi
->
dmi_addrlen
,
0
);
dmi
=
dev
->
mc_list
;
}
...
...
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