Re: [PATCH net] octeontx2-af: guard is_pf_cgxmapped() when PF to CGX map is absent
From: Jakub Kicinski
Date: Mon Sep 21 2026 - 18:02:39 EST
On Fri, 18 Sep 2026 11:25:46 +0530 Ratheesh Kannoth wrote:
> On 2026-09-18 at 11:00:17, netdev-bot+sashiko@xxxxxxxxxx (netdev-bot+sashiko@xxxxxxxxxx) wrote:
> > Thank you for your contribution! Sashiko AI review found 1 potential
> > issue(s) to consider:
> >
> > Critical: 0 · High: 0 · Medium: 1 (1) · Low: 0
> >
> > - [Medium] The added `if (!rvu->pf2cgxlmac_map) return false;` in
> > `is_pf_cgxmapped()`…
> Will modify the commit message and will post v2 to net-next as a hardening patch.
no such thing as "hardening", please don't add defensive checks upstream