aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-16 23:25:00 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-16 23:48:23 +0100
commit1013bf433bb8241230e0b73820a600578fcaadab (patch)
tree19687a27aa18da161d664962faf7eb2084d4d1b9
parent487b7ae5ebbbc76e0b2952658432d28eee07f7a2 (diff)
downloadupstream-1013bf433bb8241230e0b73820a600578fcaadab.tar.gz
upstream-1013bf433bb8241230e0b73820a600578fcaadab.tar.bz2
upstream-1013bf433bb8241230e0b73820a600578fcaadab.zip
kernel: hack-5.10: make UDP tunneling user-selectable
This applies another patch from 5.4 to 5.10 as well: de09355f74c3 ("kernel/hack-5.4: make UDP tunneling user-selectable") UDP tunneling support isn't user-selectable, but it's required by WireGuard which is, for the time being, an out-of-tree module. We currently work around this issue by selecting an unrelated module which depends on UDP tunnelling (VXLAN). This is inconvenient, as it implies this unrelated module needs to be built-in when doing a monolithic build. Fix this inconvenience by making UDP tunneling user-selectable in the kernel configuration. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rw-r--r--target/linux/generic/hack-5.10/249-udp-tunnel-selection.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/hack-5.10/249-udp-tunnel-selection.patch b/target/linux/generic/hack-5.10/249-udp-tunnel-selection.patch
new file mode 100644
index 0000000000..2c74298dfe
--- /dev/null
+++ b/target/linux/generic/hack-5.10/249-udp-tunnel-selection.patch
@@ -0,0 +1,11 @@
+--- a/net/ipv4/Kconfig
++++ b/net/ipv4/Kconfig
+@@ -315,7 +315,7 @@ config NET_IPVTI
+ on top.
+
+ config NET_UDP_TUNNEL
+- tristate
++ tristate "IP: UDP tunneling support"
+ select NET_IP_TUNNEL
+ default n
+