Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp5984640pxv; Wed, 7 Jul 2021 16:51:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFdu4tAmnmcQDQaSZrPnQ3cx1rRzzDHvYt/YvIN6P6iRr65lNalNNXt3bqcYiKoGB75aXr X-Received: by 2002:a92:6509:: with SMTP id z9mr20476717ilb.184.1625701904428; Wed, 07 Jul 2021 16:51:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625701904; cv=none; d=google.com; s=arc-20160816; b=euGwdH6+2xvJOloALrzqLpz35NvKxx0RV20WxwJbSgzn2BAyiZ30dG6Db6rPmRnNQt 7idOC0LzfsJWp+Q5pmcQt/XeVJ7+reCBfObBxLhOxLJWQburuMso2oqrPZlsYet07iw3 qzk4k2YnawCii00LG1IP+BdDabD+hwch200si0Rik1c9UkmN7PuZwI/nLx8cdJW0uOLt IDGhql6QVjslCP4Y5bO9KhcBms8i9L+BdW7Za+g1omRy5UrI1HzTzDc1UOVzW8G+qqOM o01SDdOBvekgzBB9EOvRQEAUOYQzpqb9mU8q6KGDYQsx3HTqrT8/ZICrCjlpj+p8aBDk eUwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=VQfug0IHv4zPVKKbJZrt/5kYXexS/UlEn7UIdBqjdy0=; b=rzD9x33Mdy+pL8hLV32Y2SvpQue464HcUXy3kvaS/lBhvRX1MbAxtKeqHmmCtWO3C/ HwFpXije3IqtyjPvQXTzV68338H/lG2HciTzgDmKbeptHMYt83iXmP98BzRbfGzmp3Um ++KmjpEdpC3lF60J2TLnZ6GuvktLHOrE0M1wUlsKfPRU8dfOuog6gPJNmGxkL+m6Odc4 HD7MkzYSdKEJWMHsCxBrIw8XoQXmwLG8mF60XfJjsmFdUo0Mhx2Vh0RRrLz68kTtMltP FvScICEAE21SX8yEMMEPoQ3xpCn3W97/S5OwjaTsfjuj121RRMIanUTehISxGsRoAro4 yZVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LAWwwJqd; 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 o12si592600ilu.12.2021.07.07.16.51.29; Wed, 07 Jul 2021 16:51:44 -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=LAWwwJqd; 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 S230525AbhGGXfR (ORCPT + 99 others); Wed, 7 Jul 2021 19:35:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230029AbhGGXfP (ORCPT ); Wed, 7 Jul 2021 19:35:15 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FFFAC061574; Wed, 7 Jul 2021 16:32:34 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id j34so2865229wms.5; Wed, 07 Jul 2021 16:32:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VQfug0IHv4zPVKKbJZrt/5kYXexS/UlEn7UIdBqjdy0=; b=LAWwwJqdNgjFcpi4SE+Ab48hR+5topHfVlfE1xj5KtLe5QirRqVneBa/P5KlxU6syQ Ns5eUckdJE9rhr8LCBBp0RVl6TdCd1Xf+gKWPkBMtuWKHuF8xcuxq3C4QwIPAh3ytaZr pURIMUCXlcMsknxknx5gPxW7JRO89FoVZRn2Q4yvzFgUwoj07qYez2RELuxAl4wF6yZp yH9sXSKr44EN6a50SByQalvAUtNeBLIuOngHqK83lBKaeoCtn5qPT50SkJfUS9yfQHsx FEon4AhUXeE56LpEnoahkpn0hZp37xOgHhmgpu1FTJfo+Ry95ixR7NfZO0pXGBm8eyZF CNew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VQfug0IHv4zPVKKbJZrt/5kYXexS/UlEn7UIdBqjdy0=; b=BzDRkZC696CPcqNZy78wg0msbK1DKLl9J16UBntS+Bbsciwgs4yunkJ1+vTwk8U69U h6S4/gCYJuDB14FsUCh7c+T3U1Gvl2u48UhlhsX8XEc6f43wrCRo3NZSyO/hT2Xqi5Ww rrHjkKL3zrUllSE8IyeouM82P7ediQz/LOQ69bCM4n1o96jy560/IZhAAwmypBhEnBFq jzASNkKGTd/feXzqa3j2AkVTrWx432WXkX4sziBlN8pJ3M2hbaPJi8fKfWsyOmrbhNY7 pMGCUQVyTj0lFOMLozXqrPKZYXVj/6HJUGgIN/Ys+FatSW91s+CgbbfTIIm4ohm3JIX6 /9Cg== X-Gm-Message-State: AOAM530tlMaA2ih7WQWzCs6mKojToTPjfD+MeFVWhMGWzVSAq2syjLYw M0GsWuKTic/Id6idgeeedhcIN7UJFXjsouY/nwM= X-Received: by 2002:a1c:7915:: with SMTP id l21mr1680459wme.62.1625700753215; Wed, 07 Jul 2021 16:32:33 -0700 (PDT) MIME-Version: 1.0 References: <20210707155633.1486603-1-mudongliangabcd@gmail.com> In-Reply-To: From: Alexander Aring Date: Wed, 7 Jul 2021 19:32:22 -0400 Message-ID: Subject: Re: [PATCH] ieee802154: hwsim: fix GPF in hwsim_new_edge_nl To: Dongliang Mu Cc: Stefan Schmidt , "David S. Miller" , Jakub Kicinski , Alexander Aring , linux-wpan - ML , "open list:NETWORKING [GENERAL]" , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, 7 Jul 2021 at 19:15, Dongliang Mu wrote: > > On Thu, Jul 8, 2021 at 2:55 AM Alexander Aring wrote: > > > > Hi, > > > > On Wed, 7 Jul 2021 at 12:11, Dongliang Mu wrote: > > > > > > On Wed, Jul 7, 2021 at 11:56 PM Dongliang Mu wrote: > > > > > > > > Both MAC802154_HWSIM_ATTR_RADIO_ID and MAC802154_HWSIM_ATTR_RADIO_EDGE > > > > must be present to fix GPF. > > > > > > I double-check the whole file, and there is only one similar issue > > > left in Line 421. > > > > > > > What about "hwsim_del_edge_nl()" line 483, I think it has the same issue? > > Eric already submitted a patch [1] to fix this function and the patch > is already merged in the mainline. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0303b30375dff5351a79cc2c3c87dfa4fda29bed ah, yes. Thanks. - Alex