Message ID | 20190211143236.15039-1-mcroce@redhat.com |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
Series | [net] geneve: change NET_UDP_TUNNEL dependency to select | expand |
From: Matteo Croce <mcroce@redhat.com> Date: Mon, 11 Feb 2019 15:32:36 +0100 > 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 <mcroce@redhat.com> > Reviewed-and-tested-by: Andrea Claudi <aclaudi@redhat.com> > Tested-by: Davide Caratti <dcaratti@redhat.com> Applied.
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index edb1c023a753..21bf8ac78380 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -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