Patch "geneve: fix incorrect setting of UDP checksum flag" has been added to the 4.10-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
geneve: fix incorrect setting of UDP checksum flag
to the 4.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
geneve-fix-incorrect-setting-of-udp-checksum-flag.patch
and it can be found in the queue-4.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Thu May 11 10:37:58 CEST 2017
From: Girish Moodalbail <[email protected]>
Date: Thu, 27 Apr 2017 14:11:53 -0700
Subject: geneve: fix incorrect setting of UDP checksum flag
From: Girish Moodalbail <[email protected]>
[ Upstream commit 5e0740c445e6ae4026f5e52456ff8d0be9725183 ]
Creating a geneve link with 'udpcsum' set results in a creation of link for which UDP checksum will NOT be computed on outbound packets, as can be seen below.
11: gen0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether c2:85:27:b6:b4:15 brd ff:ff:ff:ff:ff:ff promiscuity 0
geneve id 200 remote 192.168.13.1 dstport 6081 noudpcsumSimilarly, creating a link with 'noudpcsum' set results in a creation of link for which UDP checksum will be computed on outbound packets.
--- drivers/net/geneve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/geneve.c +1 -1
@@ -1244,7 +1244,7 @@ static int geneve_newlink(struct net *ne metadata = true;if (data[IFLA_GENEVE_UDP_CSUM ] && - !nla_get_u8 (data[IFLA_GENEVE_UDP_CSUM ])) +nla_get_u8 (data[IFLA_GENEVE_UDP_CSUM ])) info.key.tun_flags |=TUNNEL_CSUM ; if (data[IFLA_GENEVE_UDP_ZERO_CSUM6_TX] &&
Patches currently in stable-queue which might be from [email protected] are
queue-4.10/geneve-fix-incorrect-setting-of-udp-checksum-flag.patch