提交 1abf39e0 编写于 作者: M Matteo Croce 提交者: Xie XiuQi

geneve: change NET_UDP_TUNNEL dependency to select

mainline inclusion
from mainline-v5.0
commit a7603ac1fc8c
category: bugfix
bugzilla: 9546
CVE: NA

-------------------------------------------------

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: NMatteo Croce <mcroce@redhat.com>
Reviewed-and-tested-by: NAndrea Claudi <aclaudi@redhat.com>
Tested-by: NDavide Caratti <dcaratti@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Signed-off-by: NShangli <shangli1@huawei.com>
Reviewed-by: NMao Wenan <maowenan@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 7f90c2be
...@@ -197,9 +197,9 @@ config VXLAN ...@@ -197,9 +197,9 @@ config VXLAN
config GENEVE config GENEVE
tristate "Generic Network Virtualization Encapsulation" tristate "Generic Network Virtualization Encapsulation"
depends on INET && NET_UDP_TUNNEL depends on INET
depends on IPV6 || !IPV6 depends on IPV6 || !IPV6
select NET_IP_TUNNEL select NET_UDP_TUNNEL
select GRO_CELLS select GRO_CELLS
---help--- ---help---
This allows one to create geneve virtual interfaces that provide This allows one to create geneve virtual interfaces that provide
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册