Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp661162ybm; Fri, 29 May 2020 09:09:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8/ZP9GHP3hYGUp3rGGHmuuYspaxdQMzi3V8QiUmvq0thYituNiF4UJrn9DNvO/GOO872d X-Received: by 2002:a50:b2a1:: with SMTP id p30mr9264769edd.199.1590768543672; Fri, 29 May 2020 09:09:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590768543; cv=none; d=google.com; s=arc-20160816; b=ggUfNOoZeHhQuao9yQ/kGZe4RN/xQd9AzjF9ox6anFJotArVgjcEKy/zaWPvxSWg5M CryHRPtTHQCLqrqFiTkYymRZjgb0KepQ8Grgg3vRXLKyhgrlw/gYQDAuUgJMXvxDw53y sn1TqdbVtOGnEcfqOdNw3kM4iLSF+SuUXRTV4/3QdyRiFgVoj7dK0saWUFThz3Rit1Yr eieEAHP9kcdfmK/Qs3jHltWHtebEAwBTUZjYFK3RL+Bb989+JQeoEz/3W2gdHozJ1+5L s6DYuhc5ZZFvA9TlIw6Ne42ShdEgitlPLnCarU6JooNOWDsIN+LOf7T6sfRrA63JWw7I 1uqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=2QkBQ1hsW65ifs+T38dQCXySbtszUd8Dh1ih5qIb6ac=; b=NG/ZXvyckhwWGgTDYcVY99wmf+rFMswcxF/bSXO+tvJvNIbQTCIh/kSiYnFucXLrDJ 9sTCe1F/uJjGryFvEQNhbMIHk/tu5VakTG/NPQDmYHSrs3+17zpYxPsDLlHXnnvF8zqV LLFfUGCLO6glwlSc2LVhc9ujWe81GF4kOfL1q8MFeXaJOE/v/991+OakWRVGoEvz86Cl Sr0wPjW8FD8ek+Qomdt59tFzFuPHd5dZmmCN8EhW8OJ3wqt5+I1xEhcQfcofCtruX8vN IRnAmbxvYFRGhs2dNFwmWOgNp8v9Lx8i4P1qExnJn77LqDT+xYpC8kCiu7Hh1ji5S4WT e9Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bxj9ZN1H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l6si5954206ejr.618.2020.05.29.09.08.40; Fri, 29 May 2020 09:09:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bxj9ZN1H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728004AbgE2QHA (ORCPT + 99 others); Fri, 29 May 2020 12:07:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725601AbgE2QG7 (ORCPT ); Fri, 29 May 2020 12:06:59 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7F94C03E969; Fri, 29 May 2020 09:06:59 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id n141so2685432qke.2; Fri, 29 May 2020 09:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=2QkBQ1hsW65ifs+T38dQCXySbtszUd8Dh1ih5qIb6ac=; b=bxj9ZN1HcOCP6sltQ7S8XSau8mdagaprLbERl96zHDDXcYVD9iMUrHjldPjTzJOlhA RRnVvuZtp309QRcnWQFx3y+wHHslWBAIEVSvp/qwyUgpRbnDaWpRUzDIT0n4bx/iEPxt Zx589SWGzTS2fNsyfvphf0IxRCJvpaEDbsnSrhqu6aJcgS9nTj5lYGgzb50GJK9yECiS 1SzWuhYSZXeoYfzw53kDrnjgfLO3sxjfB9B/K8nP3gjAE28ZelhdFh71/JwrTtUUANWn 4eOhU+hifZj+1N+tjI3/cIBgfSfOY/DgCzoqg0H2VPp1x0wyxOKRI0BGeKQKlkGh7bHO CuKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=2QkBQ1hsW65ifs+T38dQCXySbtszUd8Dh1ih5qIb6ac=; b=h+xhuVf/kGh5gQXavtrc/zXjpw98pSjWRwyz7nd8s6Ff4v8vmX3iEan6lB30bASvJC zG2SraO/qLKyzGLzWKaUurqg+R0Y7co+ilM6d/mPHDfTjP89Oc5H8O63weRn+dhhbvx0 Dueav9lczCcpCCIrBI2zPe81vLnhEkKmO8nchq7ictCEMwEo6dP4+hoU2YiOUt9hvbsj 7qhMffE1u5OFLWNh3IJ0C9bGMHbSLQng/BJehmurVVGTIaDzpOcv28cBQkaha73vImpe 637As8iG+kJaElgYiOLlHl+p+yczkCi3ZGzYfwuD07673gz+3g6v0jbSmzvKR/n/nNRJ XLOg== X-Gm-Message-State: AOAM53297C7Z1TsXpEVpq3oHwmtfHlIeAVS4iJr3o9YxhDBLuq2ywraV v3wzO7vMIfSUtuhL7BA7b1E= X-Received: by 2002:ae9:e10f:: with SMTP id g15mr8822930qkm.285.1590768418954; Fri, 29 May 2020 09:06:58 -0700 (PDT) Received: from localhost.localdomain ([2001:1284:f013:516d:2604:bfa5:7157:afa1]) by smtp.gmail.com with ESMTPSA id j90sm8034447qte.33.2020.05.29.09.06.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 May 2020 09:06:58 -0700 (PDT) Received: by localhost.localdomain (Postfix, from userid 1000) id C434AC1B84; Fri, 29 May 2020 13:06:55 -0300 (-03) Date: Fri, 29 May 2020 13:06:55 -0300 From: Marcelo Ricardo Leitner To: Christoph Hellwig Cc: "David S. Miller" , Jakub Kicinski , Vlad Yasevich , Neil Horman , David Laight , linux-sctp@vger.kernel.org, linux-kernel@vger.kernel.org, cluster-devel@redhat.com, netdev@vger.kernel.org Subject: Re: [PATCH 3/4] net: add a new bind_add method Message-ID: <20200529160655.GJ2491@localhost.localdomain> References: <20200529120943.101454-1-hch@lst.de> <20200529120943.101454-4-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200529120943.101454-4-hch@lst.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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)