All of lore.kernel.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] batman-adv: call unregister_netdev() to have it handle the locking for us
@ 2014-02-08 15:28 Marek Lindner
  2014-02-11 12:02 ` Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Lindner @ 2014-02-08 15:28 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Marek Lindner, Sven Eckelmann

Reported-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
---
 soft-interface.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/soft-interface.c b/soft-interface.c
index db3e467..633e9d6 100644
--- a/soft-interface.c
+++ b/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);
 }
 
 /**
-- 
1.8.5.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: call unregister_netdev() to have it handle the locking for us
  2014-02-08 15:28 [B.A.T.M.A.N.] [PATCH] batman-adv: call unregister_netdev() to have it handle the locking for us Marek Lindner
@ 2014-02-11 12:02 ` Marek Lindner
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2014-02-11 12:02 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Sven Eckelmann

[-- Attachment #1: Type: text/plain, Size: 301 bytes --]

On Saturday 08 February 2014 23:28:18 Marek Lindner wrote:
> Reported-by: Sven Eckelmann <sven@narfation.org>
> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
> ---
>  soft-interface.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)

Applied in revision 548c938.

Thanks,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-11 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-08 15:28 [B.A.T.M.A.N.] [PATCH] batman-adv: call unregister_netdev() to have it handle the locking for us Marek Lindner
2014-02-11 12:02 ` Marek Lindner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.