On Tue, Oct 06, 2020 at 05:36:32PM +0800, Ka-Cheong Poon wrote: > > > > Kernel modules should not be doing networking unless commanded to by > > > > userspace. > > > > > > It is still not clear why this is an issue with RDMA > > > connection, but not with general kernel socket. It is > > > not random networking. There is a purpose. > > > > It is a problem with sockets too, how do the socket users trigger > > their socket usages? AFAIK all cases originate with userspace > > A user starts a namespace. The module is loaded for servicing > requests. The module starts a listener. The user deletes > the namespace. This scenario will have everything cleaned up > properly if the listener is a kernel socket. This is not the > case with RDMA. Please point to reputable code in upstream doing this Jason