connector: add module alias
Subsystems (2)
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;
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_CONNECTORtype is requested.
Ack, thank you.
David, please apply.
Quoted 12 lines
Signed-off-by Stephen Hemminger <[email protected]>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
David Miller
maintainerFrom: 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_CONNECTORtype 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.
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_CONNECTORtype 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