aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-01-20 09:50:39 -0800
committerPaolo Abeni <pabeni@redhat.com>2023-01-24 10:58:11 +0100
commit08d323234d10eab077cbf0093eeb5991478a261a (patch)
tree61448179adf052429c031c5495c76c18cdfeaed5
parentnet: fou: regenerate the uAPI from the spec (diff)
downloadlinux-stable-08d323234d10eab077cbf0093eeb5991478a261a.tar.xz
linux-stable-08d323234d10eab077cbf0093eeb5991478a261a.zip
net: fou: rename the source for linking
We'll need to link two objects together to form the fou module. This means the source can't be called fou, the build system expects fou.o to be the combined object. Acked-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
-rw-r--r--net/ipv4/Makefile1
-rw-r--r--net/ipv4/fou_core.c (renamed from net/ipv4/fou.c)0
2 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/Makefile b/net/ipv4/Makefile
index af7d2cf490fb..fabbe46897ce 100644
--- a/net/ipv4/Makefile
+++ b/net/ipv4/Makefile
@@ -26,6 +26,7 @@ obj-$(CONFIG_IP_MROUTE) += ipmr.o
obj-$(CONFIG_IP_MROUTE_COMMON) += ipmr_base.o
obj-$(CONFIG_NET_IPIP) += ipip.o
gre-y := gre_demux.o
+fou-y := fou_core.o
obj-$(CONFIG_NET_FOU) += fou.o
obj-$(CONFIG_NET_IPGRE_DEMUX) += gre.o
obj-$(CONFIG_NET_IPGRE) += ip_gre.o
diff --git a/net/ipv4/fou.c b/net/ipv4/fou_core.c
index 0c3c6d0cee29..0c3c6d0cee29 100644
--- a/net/ipv4/fou.c
+++ b/net/ipv4/fou_core.c