diff mbox series

[1/2] kernel/hack-5.4: make UDP tunneling user-selectable

Message ID 20201223135034.358561-2-rsalvaterra@gmail.com
State Accepted
Delegated to: Hauke Mehrtens
Headers show
Series kernel/udptunnel: clean up the dependency awkwardness | expand

Commit Message

Rui Salvaterra Dec. 23, 2020, 1:50 p.m. UTC
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>
---
 .../generic/hack-5.4/249-udp-tunnel-selection.patch   | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 target/linux/generic/hack-5.4/249-udp-tunnel-selection.patch
diff mbox series

Patch

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
+