gtp: change NET_UDP_TUNNEL dependency to select
authorMatteo Croce <mcroce@redhat.com>
Sat, 16 Mar 2019 00:00:50 +0000 (01:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2019 17:42:30 +0000 (19:42 +0200)
commit0569fe8fb22b64c120f8da0bc2acf7a2c47a6acd
treeefc186692859b199f2f878354ccc5523ec2042a2
parentcdf6680a909a37cb2761dc3a06454b44339fd718
gtp: change NET_UDP_TUNNEL dependency to select

[ Upstream commit c22da36688d6298f2e546dcc43fdc1ad35036467 ]

Similarly to commit a7603ac1fc8c ("geneve: change NET_UDP_TUNNEL
dependency to select"), GTP has a dependency on NET_UDP_TUNNEL which
makes impossible to compile it if no other protocol depending on
NET_UDP_TUNNEL is selected.

Fix this by 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
drivers/net/Kconfig