All of lore.kernel.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH v4 1/5] batman-adv: Define module rtnl link name
@ 2016-06-10 21:00 Sven Eckelmann
  2016-06-10 21:00 ` [B.A.T.M.A.N.] [PATCH v4 2/5] batman-adv: Use rtnl link in device creation example Sven Eckelmann
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Sven Eckelmann @ 2016-06-10 21:00 UTC (permalink / raw)
  To: b.a.t.m.a.n

The batman-adv module can automatically be loaded when operations over the
rtnl link are triggered. This requires only the correct rtnl link name in
the module header.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
v4:
 - rebase on top of current master
v3:
 - rebased on top of current master to fix conflicts with newest patches
v2:
 - rebased on top of current master to fix conflicts with newest patches
---
 net/batman-adv/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c
index fe4c5e2..f61479b 100644
--- a/net/batman-adv/main.c
+++ b/net/batman-adv/main.c
@@ -638,3 +638,4 @@ MODULE_AUTHOR(BATADV_DRIVER_AUTHOR);
 MODULE_DESCRIPTION(BATADV_DRIVER_DESC);
 MODULE_SUPPORTED_DEVICE(BATADV_DRIVER_DEVICE);
 MODULE_VERSION(BATADV_SOURCE_VERSION);
+MODULE_ALIAS_RTNL_LINK("batadv");
-- 
2.8.1


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

end of thread, other threads:[~2016-06-13  4:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-10 21:00 [B.A.T.M.A.N.] [PATCH v4 1/5] batman-adv: Define module rtnl link name Sven Eckelmann
2016-06-10 21:00 ` [B.A.T.M.A.N.] [PATCH v4 2/5] batman-adv: Use rtnl link in device creation example Sven Eckelmann
2016-06-13  4:46   ` Marek Lindner
2016-06-10 21:00 ` [B.A.T.M.A.N.] [PATCH v4 3/5] batman-adv: Modify mesh_iface outside sysfs context Sven Eckelmann
2016-06-10 21:00 ` [B.A.T.M.A.N.] [PATCH v4 4/5] batman-adv: Revert "postpone sysfs removal when unregistering" Sven Eckelmann
2016-06-10 21:00 ` [B.A.T.M.A.N.] [PATCH v4 5/5] batman-adv: Avoid sysfs name collision for netns moves Sven Eckelmann
2016-06-13  4:45 ` [B.A.T.M.A.N.] [PATCH v4 1/5] batman-adv: Define module rtnl link name 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.