Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5989943ybe; Tue, 10 Sep 2019 11:49:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqXjQj0ofmfrPKi306KE/2WrDvoTcSrKPSSht01kDjby79/6cKflGtYQB/czzlSLkGRyUb X-Received: by 2002:a05:6402:1426:: with SMTP id c6mr16160554edx.53.1568141386441; Tue, 10 Sep 2019 11:49:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568141386; cv=none; d=google.com; s=arc-20160816; b=Yro4NzRwuUwD6x5L3bM+QZuRHjPpwWop/6TeYVlWIXfDZS8YUSrz0hDRrs9oaibgwg CQfNIs70ARM7EfI+YuhRKgnZeyhKXgQu+zNNvSMVxQAnJWgIw+c6fqpFpAsiu9D/Ko6S wY05zq8d0O4XOKoBeuJlhdA4i0HeMmCsIl488aV4ZApPQgm8bl4U2LxyHAPD7hyzeI4M Xhi5ZiOntbFeGG96p/rYFdzCG7y0UFwehwJ4wup6Pr/QvpAasirl8b6ezkAqwi/+8aeZ zeiB9baSndGOLL3GByBmeKqlNiUs+K9WJhHbL4bu7J9eP47/uCW9hbtSy2jq6f5V40e/ 3XeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=5RL3hDtU6rRVzLgIkPkzGxDK0v4XERpaYrdyeb6fbG0=; b=IyoYjuQMcR42T/5sOiL8L88oOdkf/+j4Ih6635KToO4rcjtgCaGnP1VFnzSB17chq9 sFymYYZU7jaYe+5VHPXmx5GxMKiR8x8Glji5gS9lqxy1kgDYqVT4sITsOP4V7uz2Li/n qHuRiTYiYopc6m+wWYHTnPqh5qw3x64VSEcG0Pi01XW6Qcu1XKrzb+ob8VZoIbr9dmxu HoipIWPoSpwlozJGe6br08xWYguJFXl3c1c8cfJqXKRXYlVW+B/87m4p+VuovjbClk7A OTsuZgibvPCw35XPWrUg+SBJpjuWC/wo0YQaN33abEy6eiirCGoIyVVsIdQPWqPWxhl1 3tGw== 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 rk9si8992288ejb.79.2019.09.10.11.49.22; Tue, 10 Sep 2019 11:49:46 -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 S1730984AbfIJHRE (ORCPT + 99 others); Tue, 10 Sep 2019 03:17:04 -0400 Received: from charlotte.tuxdriver.com ([70.61.120.58]:54594 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726192AbfIJHRE (ORCPT ); Tue, 10 Sep 2019 03:17:04 -0400 Received: from [88.214.186.143] (helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1i7aOW-00041e-Rg; Tue, 10 Sep 2019 03:16:59 -0400 Date: Tue, 10 Sep 2019 03:16:49 -0400 From: Neil Horman To: Mao Wenan Cc: vyasevich@gmail.com, marcelo.leitner@gmail.com, davem@davemloft.net, linux-sctp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH net 0/2] fix memory leak for sctp_do_bind Message-ID: <20190910071649.GB31884@localhost.localdomain> References: <20190910071343.18808-1-maowenan@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190910071343.18808-1-maowenan@huawei.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-Spam-Score: -2.9 (--) X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 10, 2019 at 03:13:41PM +0800, Mao Wenan wrote: > First patch is to do cleanup, remove redundant assignment, > second patch is to fix memory leak for sctp_do_bind if failed > to bind address. > > Mao Wenan (2): > sctp: remove redundant assignment when call sctp_get_port_local > sctp: destroy bucket if failed to bind addr > > net/sctp/socket.c | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) > > -- > 2.20.1 > > Series Acked-by: Neil Horman