[openwrt/openwrt] vxlan: fix udp checksum control

LEDE Commits lede-commits at lists.infradead.org
Fri Jul 17 06:23:36 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch openwrt-19.07:
https://git.openwrt.org/e894e1b2f02dea6da210cb0b3cb1dbef220662da

commit e894e1b2f02dea6da210cb0b3cb1dbef220662da
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>
    (cherry picked from commit 0453c3866feb701160bbab4ecf9762c5a3038503)
---
 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