From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Leon Romanovsky
<notifications-9UaJU3cA/F/QT0dZR+AlfA@public.gmane.org>,
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH 0/3] Autoloading for RDMA netlink modules
Date: Tue, 25 Jul 2017 09:40:29 -0600 [thread overview]
Message-ID: <20170725154029.GB6715@obsidianresearch.com> (raw)
In-Reply-To: <20170725143420.GA434-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
On Tue, Jul 25, 2017 at 08:34:20AM -0600, Jason Gunthorpe wrote:
> > Second, from brief review, it is unclear to me, how do you protect
> > autoload caused by regular user who sends netlink message to ib_core.
>
> You don't, that isn't how kernel auto loading works. Any user can
> attempt to create any kind of socket and the core kernel code will
> load the correct module to support that socket. That is the standard
> way kernel autoloading works, particularly for net families.
I should clarify some more that this is needed to avoid problematic
dependencies during boot up.
For instance, long term, I want to use rdma netlink from within udev
to fill in some more ID_ fields in the database, I cannot resolve the
race conditions with udev running and modules loading unless the
kernel can fully autoload the netlink subystem, just like other
netlink subsystems.
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-07-25 15:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-24 22:26 [PATCH 0/3] Autoloading for RDMA netlink modules Jason Gunthorpe
[not found] ` <1500935204-6505-1-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-07-24 22:26 ` [PATCH 1/3] rdma: Allow demand loading of NETLINK_RDMA Jason Gunthorpe
2017-07-24 22:26 ` [PATCH 2/3] rdma: Autoload netlink client modules Jason Gunthorpe
2017-07-24 22:26 ` [PATCH 3/3] iwpmd: Suppress expected kernel message Jason Gunthorpe
[not found] ` <1500935204-6505-4-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-07-25 13:30 ` Leon Romanovsky
[not found] ` <20170725133030.GR3259-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-07-25 15:36 ` Jason Gunthorpe
[not found] ` <20170725153608.GA6715-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-07-25 18:12 ` Leon Romanovsky
[not found] ` <20170725181254.GS3259-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-07-25 21:21 ` Jason Gunthorpe
2017-07-25 6:32 ` [PATCH 0/3] Autoloading for RDMA netlink modules Leon Romanovsky
[not found] ` <20170725063236.GQ3259-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-07-25 14:34 ` Jason Gunthorpe
[not found] ` <20170725143420.GA434-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-07-25 15:40 ` Jason Gunthorpe [this message]
2017-07-25 18:19 ` Leon Romanovsky
[not found] ` <20170725181951.GT3259-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-07-25 21:22 ` Jason Gunthorpe
[not found] ` <20170725212248.GD10905-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-08-14 4:50 ` Leon Romanovsky
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=20170725154029.GB6715@obsidianresearch.com \
--to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=notifications-9UaJU3cA/F/QT0dZR+AlfA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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