geneve: change NET_UDP_TUNNEL dependency to select
Subsystems (2)
PATCH 1/1 geneve: change NET_UDP_TUNNEL dependency to select
Due to the depends on NET_UDP_TUNNEL, at the moment it is impossible to compile GENEVE if no other protocol depending on NET_UDP_TUNNEL is selected.
Fix this changing the depends to a select, and drop NET_IP_TUNNEL from the select list, as it already depends on NET_UDP_TUNNEL.
Signed-off-by Matteo Croce <[email protected]>
Reviewed-and-tested-by Andrea Claudi <[email protected]>
Tested-by Davide Caratti <[email protected]>
--- drivers/net/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/Kconfig +2 -2
@@ -197,9 +197,9 @@ config VXLAN config GENEVE tristate "Generic Network Virtualization Encapsulation" - depends on INET && NET_UDP_TUNNEL + depends on INET depends on IPV6 || !IPV6 - select NET_IP_TUNNEL + select NET_UDP_TUNNEL select GRO_CELLS ---help--- This allows one to create geneve virtual interfaces that provide
Signature · 1 line
2.20.1
From: Matteo Croce <[email protected]>
Date: Mon, 11 Feb 2019 15:32:36 +0100
Quoted 10 lines
Due to the depends on
NET_UDP_TUNNEL, at the moment it is impossible to compile GENEVE if no other protocol depending onNET_UDP_TUNNELis selected.Fix this changing the depends to a select, and drop
NET_IP_TUNNELfrom the select list, as it already depends onNET_UDP_TUNNEL.Signed-off-by Matteo Croce <[email protected]>Reviewed-and-tested-by Andrea Claudi <[email protected]>Tested-by Davide Caratti <[email protected]>
Applied.