OSDN Git Service

Merge branch 'remove-kernel_setsockopt-v4'
authorDavid S. Miller <davem@davemloft.net>
Fri, 29 May 2020 20:10:39 +0000 (13:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 May 2020 20:10:39 +0000 (13:10 -0700)
commitc223c7f22cb14f234b27c8cb6f09e318d1f5671f
treecab3847fa420847f468e180c39a1dc322f8524b4
parentf26e9b2c0bf3a7a515b2e92763182bcd81628a5f
parent5a892ff2facb4548c17c05931ed899038a0da63e
Merge branch 'remove-kernel_setsockopt-v4'

Christoph Hellwig says:

====================
remove kernel_setsockopt v4

now that only the dlm calls to sctp are left for kernel_setsockopt,
while we haven't really made much progress with the sctp setsockopt
refactoring, how about this small series that splits out a
sctp_setsockopt_bindx_kernel that takes a kernel space address array
to share more code as requested by Marcelo.  This should fit in with
whatever variant of the refator of sctp setsockopt we go with, but
just solved the immediate problem for now.

Changes since v3:
 - dropped all the merged patches, just sctp setsockopt left now
 - factor out a new sctp_setsockopt_bindx_kernel helper instead of
   duplicating a small amount of logic

Changes since v2:
 - drop the separately merged kernel_getopt_removal
 - drop the sctp patches, as there is conflicting cleanup going on
 - add an additional ACK for the rxrpc changes

Changes since v1:
 - use ->getname for sctp sockets in dlm
 - add a new ->bind_add struct proto method for dlm/sctp
 - switch the ipv6 and remaining sctp helpers to inline function so that
   the ipv6 and sctp modules are not pulled in by any module that could
   potentially use ipv6 or sctp connections
 - remove arguments to various sock_* helpers that are always used with
   the same constant arguments
====================

Signed-off-by: David S. Miller <davem@davemloft.net>