[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101209184746.GA2476@ioremap.net>
Date: Thu, 9 Dec 2010 21:47:46 +0300
From: Evgeniy Polyakov <zbr@...emap.net>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net
Subject: Re: [PATCH] connector: add module alias
On Thu, Dec 09, 2010 at 09:36:46AM -0800, Stephen Hemminger (shemminger@...tta.com) wrote:
> 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.
> Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
>
> --- a/drivers/connector/connector.c 2010-12-09 09:19:05.549120343 -0800
> +++ b/drivers/connector/connector.c 2010-12-09 09:19:52.795051458 -0800
> @@ -36,6 +36,7 @@
> MODULE_LICENSE("GPL");
> MODULE_AUTHOR("Evgeniy Polyakov <zbr@...emap.net>");
> MODULE_DESCRIPTION("Generic userspace <-> kernelspace connector.");
> +MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_CONNECTOR);
>
> static struct cn_dev cdev;
>
--
Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists