From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Ricardo Leitner Date: Fri, 29 May 2020 13:06:55 -0300 Subject: [Cluster-devel] [PATCH 3/4] net: add a new bind_add method In-Reply-To: <20200529120943.101454-4-hch@lst.de> References: <20200529120943.101454-1-hch@lst.de> <20200529120943.101454-4-hch@lst.de> Message-ID: <20200529160655.GJ2491@localhost.localdomain> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Fri, May 29, 2020 at 02:09:42PM +0200, Christoph Hellwig wrote: > The SCTP protocol allows to bind multiple address to a socket. That > feature is currently only exposed as a socket option. Add a bind_add > method struct proto that allows to bind additional addresses, and > switch the dlm code to use the method instead of going through the > socket option from kernel space. > > Signed-off-by: Christoph Hellwig Acked-by: Marcelo Ricardo Leitner Even though checkpatch complained about bad alignment here: > +static int sctp_bind_add(struct sock *sk, struct sockaddr *addrs, > + int addrlen)