forked from freifunk-franken/firmware
28 lines
1004 B
Diff
28 lines
1004 B
Diff
From: Johannes Kimmel <fff@bareminimum.eu>
|
|
Date: Mon, 8 Jun 2020 16:14:43 +0200
|
|
Subject: vxlan: fix udp checksum control
|
|
|
|
So far, passing "rxcsum" and "txcsum" had no effect.
|
|
|
|
Fixes: 95ab18e0124e ("vxlan: add options to enable and disable UDP
|
|
checksums")
|
|
|
|
Signed-off-by: Johannes Kimmel <fff@bareminimum.eu>
|
|
[add Fixes:]
|
|
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
(cherry picked from commit 0453c3866feb701160bbab4ecf9762c5a3038503)
|
|
|
|
diff --git a/package/network/config/vxlan/files/vxlan.sh b/package/network/config/vxlan/files/vxlan.sh
|
|
index d055d41edc59f50c0c132849bbcd0235edeef5b9..7b1c7039551b7781f5f7a8e73b964db698f3697b 100755
|
|
--- a/package/network/config/vxlan/files/vxlan.sh
|
|
+++ b/package/network/config/vxlan/files/vxlan.sh
|
|
@@ -129,6 +129,8 @@ vxlan_generic_init_config() {
|
|
proto_config_add_int "ttl"
|
|
proto_config_add_int "tos"
|
|
proto_config_add_int "mtu"
|
|
+ proto_config_add_boolean "rxcsum"
|
|
+ proto_config_add_boolean "txcsum"
|
|
proto_config_add_string "macaddr"
|
|
}
|
|
|