[Devel] [PATCH RHEL9 COMMIT] config/venet: make VE_NETDEV depend on VE

Konstantin Khorenko khorenko at virtuozzo.com
Wed Oct 27 19:07:42 MSK 2021


The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh9-5.14.0-4.vz9.10.20
------>
commit 8858a65f7c79fb010f90d0253e9b9d0babe26b3c
Author: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
Date:   Wed Oct 27 19:07:42 2021 +0300

    config/venet: make VE_NETDEV depend on VE
    
    In drivers/net/venetdev.c (which is config VE_NETDEV) we use
    net->owner_ve (which is under config VE), so probably it's a good idea
    to make VE_NETDEV depend from VE in Kconfig.
    
    https://jira.sw.ru/browse/PSBM-135200
    Fixes: 12b9b0869be8 ("drivers/net/ve: venet network device introduced")
    Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
---
 kernel/Kconfig.openvz | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/Kconfig.openvz b/kernel/Kconfig.openvz
index 6ea4f707df61..fd52fea9954d 100644
--- a/kernel/Kconfig.openvz
+++ b/kernel/Kconfig.openvz
@@ -43,7 +43,7 @@ config VE_CALLS
 
 config VE_NETDEV
 	tristate "VE network device"
-	depends on NET
+	depends on VE && NET
 	select VZ_DEV
 	default m
 	help


More information about the Devel mailing list