Tun accounting uses tun diver so it should be shown
iif TUN is selected, also it should be M by default
as for general net accounting.

Signed-off-by: Cyrill Gorcunov <[email protected]>
CC: Vladimir Davydov <[email protected]>
CC: Konstantin Khorenko <[email protected]>
CC: Vladimir Sementsov-Ogievskiy <[email protected]>
---
 kernel/Kconfig.openvz |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-pcs7.git/kernel/Kconfig.openvz
===================================================================
--- linux-pcs7.git.orig/kernel/Kconfig.openvz
+++ linux-pcs7.git/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
-       default y
+       depends on VE_NETDEV_ACCOUNTING && TUN
+       default m
        help
           This option enables accounting for tun/tap devices.
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to