vxlan: fix udp checksum control
authorJohannes Kimmel <fff@bareminimum.eu>
Mon, 8 Jun 2020 14:14:43 +0000 (16:14 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 17 Jul 2020 10:22:57 +0000 (12:22 +0200)
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)

package/network/config/vxlan/files/vxlan.sh

index d055d41edc59f50c0c132849bbcd0235edeef5b9..7b1c7039551b7781f5f7a8e73b964db698f3697b 100755 (executable)
@@ -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"
 }