mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-20 00:11:22 +00:00
geneve: fix build with modular IPV6
Commitc40e89fd35
("geneve: configure MTU based on a lower device") added an IS_ENABLED(CONFIG_IPV6) to geneve, leading to the following link error with CONFIG_GENEVE=y and CONFIG_IPV6=m: drivers/net/geneve.o: In function `geneve_link_config': geneve.c:(.text+0x14c): undefined reference to `rt6_lookup' Fix this by adding a Kconfig dependency and forcing GENEVE to be a module when IPV6 is a module. Fixes:c40e89fd35
("geneve: configure MTU based on a lower device") Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c2335d67b7
commit
094be0927f
@ -198,6 +198,7 @@ config VXLAN
|
||||
config GENEVE
|
||||
tristate "Generic Network Virtualization Encapsulation"
|
||||
depends on INET && NET_UDP_TUNNEL
|
||||
depends on IPV6 || !IPV6
|
||||
select NET_IP_TUNNEL
|
||||
select GRO_CELLS
|
||||
---help---
|
||||
|
Loading…
Reference in New Issue
Block a user