RE: [PATCH] net/sched: sch_dualpi2: fix NULL pointer dereference in dualpi2_change()
From: Chia-Yu Chang (Nokia)
Date: Wed Apr 15 2026 - 08:41:26 EST
> -----Original Message-----
> From: Simon Horman <horms@xxxxxxxxxx>
> Sent: Wednesday, April 15, 2026 2:34 PM
> To: veritas501 <hxzene@xxxxxxxxx>
> Cc: Chia-Yu Chang (Nokia) <chia-yu.chang@xxxxxxxxxxxxxxxxxxx>; jhs@xxxxxxxxxxxx; jiri@xxxxxxxxxxx; davem@xxxxxxxxxxxxx; edumazet@xxxxxxxxxx; kuba@xxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; pabeni@xxxxxxxxxx
> Subject: Re: [PATCH] net/sched: sch_dualpi2: fix NULL pointer dereference in dualpi2_change()
>
>
> CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext for additional information.
>
>
>
> On Wed, Apr 15, 2026 at 10:31:58AM +0800, veritas501 wrote:
> > From: "Kito Xu (veritas501)" <hxzene@xxxxxxxxx>
> >
> > Hi Simon,
> >
> > Thanks for the review and for pointing out the alternative patch from
> > Chia-Yu. I agree that the more comprehensive fix is the better choice
> > for this code path.
> >
> > Since I independently discovered and reported this issue, would it be
> > possible to add a Reported-by tag to Chia-Yu's patch?
> >
> > Reported-by: "Kito Xu (veritas501)" <hxzene@xxxxxxxxx>
>
> That sounds reasonable to me.
> But it might be best to bring up in a response to Chia-Yu's patch.
> (I can't make it happen myself.)
>
> >
> > Either way, thanks for handling this!
> >
> > Best regards,
> > Kito
Hi Kito and Simon,
Sure, I will add in the other patch with the proposed tag in v2 (let's wait for more feedback before submitting v2).
Thanks!
Chia-Yu