Re: [PATCH 0/3] Autoloading for RDMA netlink modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux