diff options
author | 2018-04-26 12:36:36 +0200 | |
---|---|---|
committer | 2018-04-27 13:52:09 -0400 | |
commit | 094be0927ff3e802b3f26b7f66c563a4b93a4ab5 (patch) | |
tree | 1b450e4b6d493336a337599452229da6ee8e02c5 /drivers/net/ethernet/intel/fm10k/fm10k_main.c | |
parent | Merge branch 's390-next' (diff) | |
download | linux-094be0927ff3e802b3f26b7f66c563a4b93a4ab5.tar.gz linux-094be0927ff3e802b3f26b7f66c563a4b93a4ab5.tar.bz2 linux-094be0927ff3e802b3f26b7f66c563a4b93a4ab5.zip |
geneve: fix build with modular IPV6
Commit c40e89fd358e ("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: c40e89fd358e ("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>
Diffstat (limited to 'drivers/net/ethernet/intel/fm10k/fm10k_main.c')
0 files changed, 0 insertions, 0 deletions