forked from freifunk-franken/firmware
Adrian Schmutzler
2e3da1556c
This adds a few improvements and fixes for vxlan support. The following two patches are already backported to openwrt-1907 and can be dropped after bumping to the next point release: 0011-vxlan-fix-udp-checksum-control.patch 0012-vxlan-bump-and-change-to-PKG_RELEASE.patch The other two patches won't be backported and have to be kept until we move up to 20.xx: 0013-vxlan-remove-mandatory-peeraddr.patch 0014-vxlan-add-capability-for-multiple-fdb-entries.patch Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Johannes Kimmel <fff@bareminimum.eu> Tested-by: Johannes Kimmel <fff@bareminimum.eu>
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"
|
|
}
|
|
|