projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a321b0
)
batman-adv: call unregister_netdev() to have it handle the locking for us
author
Marek Lindner
<mareklindner@neomailbox.ch>
Sat, 8 Feb 2014 15:28:18 +0000
(23:28 +0800)
committer
Antonio Quartulli
<antonio@meshcoding.com>
Sat, 22 Mar 2014 07:50:26 +0000
(08:50 +0100)
Reported-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/soft-interface.c
patch
|
blob
|
history
diff --git
a/net/batman-adv/soft-interface.c
b/net/batman-adv/soft-interface.c
index
db3e467
..
633e9d6
100644
(file)
--- a/
net/batman-adv/soft-interface.c
+++ b/
net/batman-adv/soft-interface.c
@@
-652,10
+652,7
@@
static void batadv_softif_destroy_finish(struct work_struct *work)
}
batadv_sysfs_del_meshif(soft_iface);
-
- rtnl_lock();
- unregister_netdevice(soft_iface);
- rtnl_unlock();
+ unregister_netdev(soft_iface);
}
/**