Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp280547pxb; Thu, 2 Sep 2021 04:08:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoqeEEiv2XKCZuyjcdupY0Cu7E/NdME7OJU8odWvc47RlXdCDxK6IFNj3SuQHY7WAubQa2 X-Received: by 2002:a05:6000:1569:: with SMTP id 9mr3063106wrz.242.1630580895309; Thu, 02 Sep 2021 04:08:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630580895; cv=none; d=google.com; s=arc-20160816; b=o9BAtrkH74qP93sUUvP0GXG2dBC72QS9gFEamcndWSjExqq8UBBggH+DtNSn6uI3l4 1WeDrbu3+28g2YZXcUM87ki7/+LicZ1+IHZ27znYBhh1UKh2ViSKLxHlwsRQA3o4put8 RfudnXb69DaK/NPyeH9jQ1KkamZvbAZV921iI6nMz5w+d47lFWR20klahALZLFiuSoLs 1y0m9hGoZiw/SHeb7N7GymCDOckIrcRdr3L7D4O1dMr/IerjPIH8Caj4Py2g+Hqh6RE3 TrZfy9bfdKq8T7Y1K3QMchw/D+g9Jn9If4Wg7pNoxBb63Y2IuZpSHMicpk8UwpDH2NY9 M8Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=enOcVfAdlHahrniOPeZ1Hld+NLnkLjvkh7DpnnDyaSs=; b=j3bXcfTQcfBISR+QohGnFaPRWf/IV2/aZz8kbKNH9sEYZbwzNMhY5cBM9PJPeJCJPy UwE8hluU8BSA4bs/6n18UfZbpovhcgU5oR8jycZigu2+36ayRYqAxrF7gr4Mu2hd81AW 1roNv25NJxFY6HI1zgW4KhZngLUmEJRFN/5ZmLDBtjjb5kOhmfiuwJgy5pt0yDgbDLTN +nuhAD905chiJjwooCp+YXzQfQQq0uwA5pKR1pCMmpbMCS8uJrBPBm583GOTXm4J4UsC 8BP+6JB++VKFy5/0/hFn6TvOpJQbDA7KZW7R3HTYX74bN+5Y85khFdtK9dymzYeJfSlc Q94g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TrMxRZ1a; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h22si1744537edt.53.2021.09.02.04.07.27; Thu, 02 Sep 2021 04:08:15 -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=@kernel.org header.s=k20201202 header.b=TrMxRZ1a; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237147AbhIBLBF (ORCPT + 99 others); Thu, 2 Sep 2021 07:01:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:43272 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233504AbhIBLBD (ORCPT ); Thu, 2 Sep 2021 07:01:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 8461A61059; Thu, 2 Sep 2021 11:00:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630580405; bh=IRnbEKJ/4ru4j2fz2HxHNvjPtqo1sJl7HRn2BBPCpCY=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=TrMxRZ1ak1oMIW2kINBK27fec2pYVxc57yWu/G9UHVida4Z98w3VGPRemH+DYzqoq w48FTtZVneQIVdodBTpUW7SyloFLFxZMuxRmOMZ0il0OD6Q/NsyFme3dxwbNVxJR7T OX+fyACtoFQv9dlbdZA2BJMlD+OY18Oh5BOD1bbsq0jl+S7Zg+AglNl1suF3JeGwvZ vO4P0tXRUA+akDQ7+btTIomgAkEMSrKgGz5LmdMZC6KpP95p8/IGlv0xOqq/vvdMK9 L9GA1x5tPymiJ1swKgstA2Pr0DufLoFcNfIG9Jw040/QV3ehi1AHjcYgANCGW3EC+F aGMQxMflZda4w== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 7798960982; Thu, 2 Sep 2021 11:00:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: hso: add failure handler for add_net_device From: patchwork-bot+netdevbpf@kernel.org Message-Id: <163058040548.23746.8136394264284683610.git-patchwork-notify@kernel.org> Date: Thu, 02 Sep 2021 11:00:05 +0000 References: <20210902083609.1679146-1-william.xuanziyang@huawei.com> In-Reply-To: <20210902083609.1679146-1-william.xuanziyang@huawei.com> To: Ziyang Xuan Cc: davem@davemloft.net, kuba@kernel.org, johan@kernel.org, mudongliangabcd@gmail.com, linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (refs/heads/master): On Thu, 2 Sep 2021 16:36:09 +0800 you wrote: > If the network devices connected to the system beyond > HSO_MAX_NET_DEVICES. add_net_device() in hso_create_net_device() > will be failed for the network_table is full. It will lead to > business failure which rely on network_table, for example, > hso_suspend() and hso_resume(). It will also lead to memory leak > because resource release process can not search the hso_device > object from network_table in hso_free_interface(). > > [...] Here is the summary with links: - [net] net: hso: add failure handler for add_net_device https://git.kernel.org/netdev/net/c/ecdc28defc46 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html