summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorDavid Yang <mmyangfl@gmail.com>2026-01-19 23:34:36 +0800
committerJakub Kicinski <kuba@kernel.org>2026-01-20 18:30:02 -0800
commit302e5b481caa7b3d11ec0e058434c1fc95195e50 (patch)
treeb2dad65bd219eca8df66fc83b298050107df1107 /scripts/patch-kernel
parent5fbe395cd1fdbc883584e7f38369e4ba5ca778d2 (diff)
be2net: fix data race in be_get_new_eqd
In be_get_new_eqd(), statistics of pkts, protected by u64_stats_sync, are read and accumulated in ignorance of possible u64_stats_fetch_retry() events. Before the commit in question, these statistics were retrieved one by one directly from queues. Fix this by reading them into temporary variables first. Fixes: 209477704187 ("be2net: set interrupt moderation for Skyhawk-R using EQ-DB") Signed-off-by: David Yang <mmyangfl@gmail.com> Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev> Link: https://patch.msgid.link/20260119153440.1440578-1-mmyangfl@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions