The commit is pushed to "branch-rh10-6.12.0-55.13.1.2.x.vz10-ovz" and will
appear at [email protected]:openvz/vzkernel.git
after rh10-6.12.0-55.13.1.2.10.vz10
------>
commit 90e1ce1a4dd96651720c8cb65ba6f6341b2b767c
Author: Pavel Tikhomirov <[email protected]>
Date: Tue Oct 7 16:50:25 2025 +0800
ve/printk: fix va_copy usage in ve_vprintk()
According to man va_start(3):
Each invocation of va_copy() must be matched by a corresponding
invocation of va_end() in the same function.
So let's add it to our ve_vprintk() helper.
Fixes: ed230894fb5a6 ("ve/printk: Introduce ve_printk()")
https://virtuozzo.atlassian.net/browse/VSTOR-106826
Signed-off-by: Pavel Tikhomirov <[email protected]>
Feature: printk: per-CT virtualization
---
kernel/printk/printk.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index 36e31d8627e23..b4c6b1f99eff0 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -2532,6 +2532,7 @@ static asmlinkage int ve_vprintk(int dst, const char
*fmt, va_list args)
r = vprintk(fmt, args);
if (!ve_is_super(get_exec_env()) && (dst & VE_LOG))
r = __vprintk(fmt, args2);
+ va_end(args2);
return r;
}
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel