Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1738176ybe; Sat, 14 Sep 2019 00:20:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxv+QewxJJP1K5YDYOK949Nap1VIOZxESG2VJlktemIc49GbSmIGF5sV7fSUc6STxQV1/Rk X-Received: by 2002:a50:d552:: with SMTP id f18mr52336069edj.36.1568445621488; Sat, 14 Sep 2019 00:20:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568445621; cv=none; d=google.com; s=arc-20160816; b=Rqi2O7K5pxSUM42RtFo5HrfS+wk+c4DfcEnoHhMOEtUxTbCgAaYH+E6XiU2nsiqxXo FmukhCxoocZer1lZ/WRUmwgIPusS9+Ema+TWgjbiJWbR+eqBjpu8d2qG0PupDafrgrMM x1VFIFI1KnoLGpL+MTe5RxTeCGbWbv2x3YnWYAlVlCjBymJNvlRk/LCJn4ukK0TSqJ14 BtKbacQmek1KgVzk77Xb5Nxj+NbkuPe7OQVEjvIbxaQTlnktSIbRCfNy+2eSvNHSPgkN lNzr0Z0+IvySgv69fiLqvcDw+U9Oxhl8c26jQBZDXA769lyKXY8A6Joq8oFeyriNDiR6 4amw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=KJSNvAdvo8WtuXX/pcGU4i0bXRrbH+wNn1B29puwfOY=; b=XMQp+8JPbqJOKg7r922n0NQPpZi15wgeskaqZFI/Gu68ldS4d3s8eyE+Ky4JpUSUgK /7a/hmEXxVVUdkCE9+pKyA2qJf1PTzmDTq5DcJ3oqwuNjSJcdbov8YFG/z28NNuzEqVn xJgJ7w8frq1yfBPXYr5OhiIX6v8UaIjGH3prfRflEmmd+Nnj+DmAQVqBug+icL3Rq2Bh L05juI3A37U+x6IOa20LChoHe+bUa/AQ0EAtekH0VBKavT5b2KMjchsO9my7YOUR5Szu WxYl6L0OzzjwRGh2n78nI+q0R7XZhJlRdZUNFGyxgsPv6mdusZHifAZRAgpkb1er5LgL BCdA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3si18277771edh.372.2019.09.14.00.19.58; Sat, 14 Sep 2019 00:20:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388466AbfIMUG7 (ORCPT + 99 others); Fri, 13 Sep 2019 16:06:59 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:48710 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730185AbfIMUG7 (ORCPT ); Fri, 13 Sep 2019 16:06:59 -0400 Received: from localhost (93-63-141-166.ip28.fastwebnet.it [93.63.141.166]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id ED4C41539B17F; Fri, 13 Sep 2019 13:06:56 -0700 (PDT) Date: Fri, 13 Sep 2019 21:06:55 +0100 (WEST) Message-Id: <20190913.210655.1982553055937864765.davem@davemloft.net> To: maowenan@huawei.com Cc: vyasevich@gmail.com, nhorman@tuxdriver.com, marcelo.leitner@gmail.com, linux-sctp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH v2 net 0/3] fix memory leak for sctp_do_bind From: David Miller In-Reply-To: <20190912040219.67517-1-maowenan@huawei.com> References: <7a450679-40ca-8a84-4cba-7a16f22ea3c0@huawei.com> <20190912040219.67517-1-maowenan@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 13 Sep 2019 13:06:58 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mao Wenan Date: Thu, 12 Sep 2019 12:02:16 +0800 > First two patches are to do cleanup, remove redundant assignment, > and change return type of sctp_get_port_local. > Third patch is to fix memory leak for sctp_do_bind if failed > to bind address. > > --- > v2: add one patch to change return type of sctp_get_port_local. Series applied with Fixes: tag removed from patch #1. Thanks.