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