# Re: \[PATCH\] ieee802154: hwsim: fix GPF in hwsim\_new\_edge\_nl

- From: Alexander Aring \<alex.aring@gmail.com\>
- Date: 2021-07-07 23:32:39 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/07/1436031
- Thread: https://ratatoskr.run/netdev/2021/07/1435690/t.md

```text
Hi,

On Wed, 7 Jul 2021 at 19:15, Dongliang Mu [ref] wrote:
>
> On Thu, Jul 8, 2021 at 2:55 AM Alexander Aring [ref] wrote:
> >
> > Hi,
> >
> > On Wed, 7 Jul 2021 at 12:11, Dongliang Mu [ref] wrote:
> > >
> > > On Wed, Jul 7, 2021 at 11:56 PM Dongliang Mu [ref] 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
```
