geneve: change NET_UDP_TUNNEL dependency to select
authorMatteo Croce <mcroce@redhat.com>
Mon, 11 Feb 2019 14:32:36 +0000 (15:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 08:21:10 +0000 (09:21 +0100)
commit3d5e2bb84851df18fc99884df89b4b44a297fabf
tree2652668fb7d0f54094ae9d2f5901824086abdd30
parentbed231aa94949312b4072540cf8ed8ddf55dab90
geneve: change NET_UDP_TUNNEL dependency to select

[ Upstream commit a7603ac1fc8ce1409f8ff70e6ce505f308b2c002 ]

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/Kconfig