Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp5965466pxv; Wed, 7 Jul 2021 16:18:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/sm/g2qP0PS3WVSd35ltoREP6G652nwxzQfb07+89ShOkaEwHq0mAIujTRC1TtPGcNYXC X-Received: by 2002:a05:6e02:1d12:: with SMTP id i18mr20416190ila.97.1625699895065; Wed, 07 Jul 2021 16:18:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625699895; cv=none; d=google.com; s=arc-20160816; b=VGzT7kBU+biCswou+Zj5oVv+6RqOVEz2ymS3+HX4KLwI0lAlSwC6KxYE6CzyqcICgA MQNRXGfNelwsSld1dEFamWjVrkRqsGCZmfdwW9rN1w4Pc9kpXD+36Qk3eWenjJVaWGNX ZPYj6clgB7A6Vv8//wdsmyPLkfMPiOo95P5hFiXGF/MhSIhlpgSZ9+PqqpB3y+8PlYPV E7jFIJ7MRV2jBGLHDWIbcdF3uNsTNRO9OaS7ziJFUZvrlveRXPfAmqAzBndsyB9eQ07Y AiZGCP1LuUB34cOKTHXOe2La3JNCALT28W25JXb0XCshpXfoZx3t/CtWRS8TQjuyMVcq /2Rw== 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=hiqmU7ZYFmC5qBB3mvHvn8V7nMpjIpKM26FEZSkngpA=; b=C1s7So6WnBm9CM9VtNjZe+cAip8J3MZDL9pUNJqfZxUMRnIsr/mke5C/eLEFpYv/j9 XELrimSfxxJrvBynD7AV2sFuzEIu/AZV6PAN7C6Y7htiHdD8fhfao53ZYShegfZMLQPm 1AA3tmVMAB7cYSvXoINU1HVmEdajB5erignRHIBGJxFp3OrPE73xHEB0Iwe8Q01EzIxi YMkUgdZ20O1h5+wprX/g5FlzqgCZolS2vi72F9bXA8bG7vXkgdO66xPWpmzACNENnD7M RbGc5fOEQavMgkutBi+QIitpJGBHfsQMn9GiYXnNaID8oMAtUoed/Riv9ZAqLdW3V6Lq 08+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QyqgU8lU; 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 e3si357106jap.124.2021.07.07.16.18.03; Wed, 07 Jul 2021 16:18: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=@gmail.com header.s=20161025 header.b=QyqgU8lU; 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 S231147AbhGGXRv (ORCPT + 99 others); Wed, 7 Jul 2021 19:17:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230019AbhGGXRu (ORCPT ); Wed, 7 Jul 2021 19:17:50 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E330C061574; Wed, 7 Jul 2021 16:15:09 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id l2so5698041edt.1; Wed, 07 Jul 2021 16:15:09 -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=hiqmU7ZYFmC5qBB3mvHvn8V7nMpjIpKM26FEZSkngpA=; b=QyqgU8lUT4i25prlzDFORgjBnNZ0TJymrLOsABQ3kiGyl5xYqPi/3dDQ7DVv5uWNFe 1FvPlG/kyMEoZEeRnoW7JgOxq33yWROcWWFinfSvnp6Sgq3l47gkdOUswVGBjFa1/aXz o0FDTzylSxQz+bjdWU/zkMEo+Q7pM6Ef6PU4hltEjeLOMvmqpWE50Fd9df9ciYKCoG5V ig8ijLtj+MFLKdC+JKCDQ+7DzHhoJldjp5iI019geJ/kQE9q6NmbgOjPS5AX1y4ApB4O R2I8/918UqxFCCKecdGW42g88n0OW42kGqQVWNN0I7rQEzJtmNzgMYT3SmPuZEsQN/BN gjMQ== 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=hiqmU7ZYFmC5qBB3mvHvn8V7nMpjIpKM26FEZSkngpA=; b=pBzREpQDTX8U8q9mQqQUj5+Dihw5UL51eP2rQ74ZWJkJx4ZZqc5OeAzZO4ip9XNHoL omlYyzv6b39IGIFoqAL/eM8ECw6gI0vTD7bwvu4rSU9pNBfG9fp1tBVbIh0neE8/sHcO xTD2WBb/ynBZbCcG6K4xcMykeT41ABpNZ3aWPI5ZDDVDwyA7GKsll5hZXVWLcJCh4RQr 3+YAFC9+Y+i5Jpn3OnZXZulja91cS6iASr0kp7QpYKMksA3ou61TtBkqucsNTWicqsJ/ h+1EH1V/Fg0Q3/5wWBPZyRJoWYabuWGKuYgCMLTTxQqjU4bTlzYxCgR3ABUfcw9Q8Rt8 zsWA== X-Gm-Message-State: AOAM5331b31HqfcUKSw+zjO/DeZPJX9LN2N5OLQgr8iht0i6z8zwL4vs VaEVh9Vr9AkuWWDUR/JaHGka2oXmedRR+75tZtY= X-Received: by 2002:a05:6402:3507:: with SMTP id b7mr33896051edd.66.1625699708103; Wed, 07 Jul 2021 16:15:08 -0700 (PDT) MIME-Version: 1.0 References: <20210707155633.1486603-1-mudongliangabcd@gmail.com> In-Reply-To: From: Dongliang Mu Date: Thu, 8 Jul 2021 07:14:42 +0800 Message-ID: Subject: Re: [PATCH] ieee802154: hwsim: fix GPF in hwsim_new_edge_nl To: Alexander Aring 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 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 > > - Alex