Re: [PATCH] ieee802154: hwsim: fix GPF in hwsim_new_edge_nl
From: Dongliang Mu
Date: Wed Jul 07 2021 - 19:15:16 EST
On Thu, Jul 8, 2021 at 2:55 AM Alexander Aring <alex.aring@xxxxxxxxx> wrote:
>
> Hi,
>
> On Wed, 7 Jul 2021 at 12:11, Dongliang Mu <mudongliangabcd@xxxxxxxxx> wrote:
> >
> > On Wed, Jul 7, 2021 at 11:56 PM Dongliang Mu <mudongliangabcd@xxxxxxxxx> 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