[openwrt/openwrt] vxlan: fix udp checksum control

LEDE Commits lede-commits at lists.infradead.org
Tue Jul 14 18:23:46 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0453c3866feb701160bbab4ecf9762c5a3038503

commit 0453c3866feb701160bbab4ecf9762c5a3038503
Author: Johannes Kimmel <fff at bareminimum.eu>
AuthorDate: Mon Jun 8 16:14:43 2020 +0200

    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 at bareminimum.eu>
    [add Fixes:]
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 package/network/config/vxlan/files/vxlan.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/network/config/vxlan/files/vxlan.sh b/package/network/config/vxlan/files/vxlan.sh
index d055d41edc..7b1c703955 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"
 }
 



More information about the lede-commits mailing list