lkml.org 
[lkml]   [2023]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [net PATCH v2] octeon_ep: update BQL sent bytes before ringing doorbell
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

\
 
 \ /
  Last update: 2023-10-16 23:54    [W:0.055 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site