[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111228110208.5f6de3d8@nehalam.linuxnetplumber.net>
Date: Wed, 28 Dec 2011 11:02:08 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] genetlink: add auto module loading
On Wed, 28 Dec 2011 13:49:39 -0500 (EST)
David Miller <davem@...emloft.net> wrote:
> From: Stephen Hemminger <shemminger@...tta.com>
> Date: Wed, 28 Dec 2011 10:19:58 -0800
>
> > When testing L2TP support, I discovered that the l2tp module is not autoloaded
> > as are other netlink interfaces. There is because of lack of hook in genetlink to call
> > request_module and load the module.
> >
> > Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
>
> Applied, but for completeness we should probably also handle the "by ID" case right
> above this code block too.
>
> Could you please submit a patch for that?
>
> Thanks.
There is no point really. All the existing drivers,
use GENL_ID_GENERATE which generates the ID when they are loaded.
Chicken and egg principle.
--
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