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 09:32:36AM +0300, Leon Romanovsky wrote:

> First, it interferes badly with my RDMA netlink series posted here in
> previous cycle and I'm expecting to see it in, so I can move forward
> with RDMAtool implementation.

I'm sure we can fix a few conflicts...

> 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.

> Third, it is ib_core who should autoload modules by default, and not some
> random daemon in user space.

Kernel autoloading of userspace facing kernel services is always
triggered by a user process attempting to use the service, so this
comment makes no sense to me.

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