Christoph Hellwig
2020-May-14 10:18 UTC
[Ocfs2-devel] remove kernel_setsockopt and kernel_getsockopt
On Thu, May 14, 2020 at 08:29:30AM +0000, David Laight wrote:> You need to export functions that do most of the socket options > for all protocols.Only for those were we have users, and all those are covered.
David Laight
2020-May-14 10:26 UTC
[Ocfs2-devel] remove kernel_setsockopt and kernel_getsockopt
From: Christoph Hellwig> Only for those were we have users, and all those are covered.What do we tell all our users when our kernel SCTP code no longer works? It uses SO_REUSADDR, SCTP_EVENTS, SCTP_NODELAY, SCTP_STATUS, SCTP_INITMSG, IPV6_ONLY, SCTP_SOCKOPT_BINDX_ADD and SO_LINGER. We should probably use the CONNECTX function as well. I doubt we are the one company with out-of-tree drivers that use the kernel_socket interface. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
'Christoph Hellwig'
2020-May-14 10:34 UTC
[Ocfs2-devel] remove kernel_setsockopt and kernel_getsockopt
On Thu, May 14, 2020 at 10:26:41AM +0000, David Laight wrote:> From: Christoph Hellwig > > Only for those were we have users, and all those are covered. > > What do we tell all our users when our kernel SCTP code > no longer works?We only care about in-tree modules, just like for every other interface in the kernel.