aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/rcu.c
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2025-07-14 08:47:53 +0000
committerMichael S. Tsirkin <[email protected]>2025-08-01 13:11:09 +0000
commitb4ba1207d45adaafa2982c035898b36af2d3e518 (patch)
treea47e9d84639c4c20605bfb4ce5e9f616da12e4a1 /rust/helpers/rcu.c
parentvhost: Reintroduce kthread API and add mode selection (diff)
downloadkernel-b4ba1207d45adaafa2982c035898b36af2d3e518.tar.gz
kernel-b4ba1207d45adaafa2982c035898b36af2d3e518.zip
vhost: fail early when __vhost_add_used() fails
This patch fails vhost_add_used_n() early when __vhost_add_used() fails to make sure used idx is not updated with stale used ring information. Reported-by: Eugenio PĂ©rez <[email protected]> Signed-off-by: Jason Wang <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Tested-by: Lei Yang <[email protected]>
Diffstat (limited to 'rust/helpers/rcu.c')
0 files changed, 0 insertions, 0 deletions