Re: [net PATCH v2] octeon_ep: update BQL sent bytes before ringing doorbell

From: Jakub Kicinski
Date: Mon Oct 16 2023 - 17:54:13 EST


On Thu, 12 Oct 2023 03:17:06 -0700 Shinas Rasheed wrote:
> - netdev_tx_sent_queue(iq->netdev_q, skb->len);
> iq->stats.instr_posted++;
> skb_tx_timestamp(skb);

The skb_tx_timestamp() here will do the same exact UAF, no?
I think you should move them both.
--
pw-bot: cr