From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] tipc: add missing dev_put() on error in tipc_enable_l2_media Date: Thu, 26 Jul 2018 14:05:48 -0700 (PDT) Message-ID: <20180726.140548.1793684947549084221.davem@davemloft.net> References: <20180725100049.20244-1-yuehaibing@huawei.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jon.maloy@ericsson.com, ying.xue@windriver.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, tipc-discussion@lists.sourceforge.net To: yuehaibing@huawei.com Return-path: In-Reply-To: <20180725100049.20244-1-yuehaibing@huawei.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: YueHaibing Date: Wed, 25 Jul 2018 18:00:49 +0800 > when tipc_own_id failed to obtain node identity,dev_put should > be call before return -EINVAL. > > Fixes: 682cd3cf946b ("tipc: confgiure and apply UDP bearer MTU on running links") > Signed-off-by: YueHaibing Applied to net-next, thank you.