On 2/13/24 6:14 AM, Johannes Berg wrote:
On Tue, 2024-02-13 at 06:13 -0800, Ben Greear wrote:
If sta is NULL, we should still reclaim the frames? If so the check earlier in the code where
it returns early if sta is NULL could be deleted, and add a null check down near the IS_ERR
check?
If the sta is NULL something went pretty much horribly wrong, not sure
what we should be trying to do in that case. I guess you could argue for
reclaiming anyway, but question is how far you go and what that risks, I
don't really know.
Ok, I haven't seen it actually be null, so will just fix my particular bug
and leave the rest as is.
Thanks,
Ben
--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com