Re: [PATCH net-next v3] net/ionic: avoid OOB TX partner lookup for hwstamp RXQ

Paolo Abeni <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.network,gmane.linux.kernel.stable
Message-ID <[email protected]>
On 8/13/26 10:37 AM, Anand Khoje wrote:
> The dedicated hardware timestamp RX queue is allocated with q->index
> equal to lif->ionic->nrxqs_per_lif. The normal txqcqs array only
> contains the regular queue pairs, so using that index to set rxq->partner
> can read one entry past txqcqs[] and then write through the derived
> pointer.
> Only link RX/TX partners for normal queue-pair indexes. Leave the hwstamp
> RX queue unpaired, and make the XDP_TX path abort cleanly if an RX queue
> has no TX partner.
> 
> Fixes: 8eeed8373e1c ("ionic: Add XDP_TX support")
> Signed-off-by: Anand Khoje <[email protected]>
> Reviewed-by: Si-Wei Liu <[email protected]>
> Reviewed-by: Shannon Nelson <[email protected]>
> Cc: [email protected]
This is net material, you should have set accordingly the target tree
into the subj prefix. Also your SoB should come last.

No need to resend just for this, but keep in mind for future submissions.

/P
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.