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
nexedi
linux
Commits
e90b21e2
Commit
e90b21e2
authored
Dec 15, 2003
by
Alexander Viro
Committed by
Jeff Garzik
Dec 15, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr bonding] use destructor to properly free net device
(required because of driver's use of rtnl_lock/unlock)
parent
c134be28
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_main.c
+2
-1
No files found.
drivers/net/bonding/bond_main.c
View file @
e90b21e2
...
...
@@ -3910,7 +3910,6 @@ static void bond_free_all(void)
unregister_netdevice
(
dev
);
bond_deinit
(
dev
);
free_netdev
(
dev
);
}
#ifdef CONFIG_PROC_FS
...
...
@@ -4008,6 +4007,8 @@ static int __init bond_init(struct net_device *dev)
bond_create_proc_info
(
bond
);
#endif
dev
->
destructor
=
free_netdev
;
list_add_tail
(
&
bond
->
bond_list
,
&
bond_dev_list
);
return
0
;
...
...
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