Skip to contentSkip to conversation

connector: add module alias

PATCH In review Stephen Hemminger 3 participants 4 messages Dec 9, 2010 – Dec 10, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 connector: add module alias

Since connector can be built as a module and uses netlink socket to communicate. The module should have an alias to autoload when socket of NETLINK_CONNECTOR type is requested.

drivers/connector/connector.c +1 -0
@@ -36,6 +36,7 @@
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Evgeniy Polyakov <[email protected]>");
 MODULE_DESCRIPTION("Generic userspace <-> kernelspace connector.");
+MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_CONNECTOR);
 
 static struct cn_dev cdev;
 
#1 lore raw
Quoted 3 lines · Stephen Hemminger

Since connector can be built as a module and uses netlink socket to communicate. The module should have an alias to autoload when socket of NETLINK_CONNECTOR type is requested.

Ack, thank you.
David, please apply.

Quoted 12 lines
drivers/connector/connector.c +1 -0
@@ -36,6 +36,7 @@
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Evgeniy Polyakov <[email protected]>");
 MODULE_DESCRIPTION("Generic userspace <-> kernelspace connector.");
+MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_CONNECTOR);
 
 static struct cn_dev cdev;
 
Signature · 1 line
	Evgeniy Polyakov
maintainer
#2 lore raw

From: Evgeniy Polyakov <[email protected]>
Date: Thu, 9 Dec 2010 21:47:46 +0300

Quoted 6 lines · Stephen Hemminger
Quoted 3 lines

Since connector can be built as a module and uses netlink socket to communicate. The module should have an alias to autoload when socket of NETLINK_CONNECTOR type is requested.

Ack, thank you.

Please use formalized "Acked-by: " tags so that the automated tools do all the work for me and I don't have to type it in by hand.

Quoted 1 line

David, please apply.

Done, thanks.

#3 lore raw
Quoted 8 lines · David Miller
Quoted 5 lines
Quoted 3 lines

Since connector can be built as a module and uses netlink socket to communicate. The module should have an alias to autoload when socket of NETLINK_CONNECTOR type is requested.

Ack, thank you.

Please use formalized "Acked-by: " tags so that the automated tools do all the work for me and I don't have to type it in by hand.

Will do, thanks.

Signature · 1 line
	Evgeniy Polyakov