aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2020-12-23 13:50:33 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2021-01-01 19:55:59 +0100
commitde09355f74c326ca102cbb352fad0230e082480e (patch)
treeee7cea0699a0f8aa6c145b13846fc120bd211b42 /target/linux/generic
parentf3bfff9d7f85ab5f2df2728a760ddeebdb185f4c (diff)
downloadupstream-de09355f74c326ca102cbb352fad0230e082480e.tar.gz
upstream-de09355f74c326ca102cbb352fad0230e082480e.tar.bz2
upstream-de09355f74c326ca102cbb352fad0230e082480e.zip
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: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/hack-5.4/249-udp-tunnel-selection.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/hack-5.4/249-udp-tunnel-selection.patch b/target/linux/generic/hack-5.4/249-udp-tunnel-selection.patch
new file mode 100644
index 0000000000..2c74298dfe
--- /dev/null
+++ b/target/linux/generic/hack-5.4/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
+