public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Evgeniy Polyakov <zbr@ioremap•net>
To: Stephen Hemminger <shemminger@vyatta•com>
Cc: netdev@vger•kernel.org, davem@davemloft•net
Subject: Re: [PATCH] connector: add module alias
Date: Thu, 9 Dec 2010 21:47:46 +0300	[thread overview]
Message-ID: <20101209184746.GA2476@ioremap.net> (raw)
In-Reply-To: <20101209093646.1b5a6abb@nehalam>

On Thu, Dec 09, 2010 at 09:36:46AM -0800, Stephen Hemminger (shemminger@vyatta•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@vyatta•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@ioremap•net>");
>  MODULE_DESCRIPTION("Generic userspace <-> kernelspace connector.");
> +MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_CONNECTOR);
>  
>  static struct cn_dev cdev;
>  

-- 
	Evgeniy Polyakov

  reply	other threads:[~2010-12-09 18:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-09 17:36 [PATCH] connector: add module alias Stephen Hemminger
2010-12-09 18:47 ` Evgeniy Polyakov [this message]
2010-12-10 20:28   ` David Miller
2010-12-10 20:44     ` Evgeniy Polyakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101209184746.GA2476@ioremap.net \
    --to=zbr@ioremap$(echo .)net \
    --cc=davem@davemloft$(echo .)net \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=shemminger@vyatta$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox