On 12/3/26 2:31 PM, netd…@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue(s) to consider.
>
> Critical: 0 · High: 1 (2) · Medium: 0 · Low: 0
>
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
>
> - [High] The patch serializes ice_sriov_set_msix_vec_count() against
> resets of the target VF only.
Right, that is the scope of this fix: the reported oops is a race
between the MSI-X change and a reset of the same VF. The other inactive
VFs are remapped without their cfg_lock since 05c16687e0cc, this patch
does not change that.
So the issue is pre-existing.
>
> Pre-existing issues:
> - [High] This problem wasn't introduced by this patch, but it is a memory
> corruption bug on the same function's error path.
> - [High] This problem wasn't introduced by this patch, but it is a NULL-
> pointer oops on the error path the patch now wraps in cfg_lock.
Both are on error paths that were there before, also out of scope here.
I've tried to expand this commit to cover more fixes, but sadly it only
opened a can of worms resulting in "3 fixes in one commit plus 2 more
commits", and local sashiko kept reporting errors on it anyway.
sashiko.dev report on this patch also points a pre-existing bug.
--
Please merge this, as it fixes reproducible problem, that would only be
amplified by my XLVF series.