[Devel] [PATCH RHEL7 COMMIT] ve/tun: Make config to dep on TUN

Konstantin Khorenko khorenko at virtuozzo.com
Mon Oct 19 07:35:21 PDT 2015


The commit is pushed to "branch-rh7-3.10.0-229.7.2.vz7.8.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-229.7.2.vz7.8.8
------>
commit 69aa16207122b1ad17f66f37b72336f7a8312f0d
Author: Cyrill Gorcunov <gorcunov at virtuozzo.com>
Date:   Mon Oct 19 18:35:15 2015 +0400

    ve/tun: Make config to dep on TUN
    
    Tun accounting uses tun diver so it should be shown
    iif TUN is selected.
    
    Signed-off-by: Cyrill Gorcunov <gorcunov at virtuozzo.com>
    
    CC: Vladimir Davydov <vdavydov at virtuozzo.com>
    CC: Konstantin Khorenko <khorenko at virtuozzo.com>
    CC: Vladimir Sementsov-Ogievskiy <vsementsov 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 5f45e5b..4cfecd6 100644
--- a/kernel/Kconfig.openvz
+++ b/kernel/Kconfig.openvz
@@ -106,7 +106,7 @@ config VZ_IOLIMIT
 
 config VE_TUNTAP_ACCOUNTING
 	bool "Accounting for tun/tap devices"
-	depends on VE_NETDEV_ACCOUNTING
+	depends on VE_NETDEV_ACCOUNTING && TUN
 	default y
 	help
 	   This option enables accounting for tun/tap devices.



More information about the Devel mailing list