[ovs-git] [openvswitch/ovs] 6f63c1: datapath: compat: fix udp checksum calculation
GitHub
noreply at github.com
Wed Jul 27 01:00:16 UTC 2016
Branch: refs/heads/branch-2.5
Home: https://github.com/openvswitch/ovs
Commit: 6f63c19a39374f030c68593ed38c2afa0c86c202
https://github.com/openvswitch/ovs/commit/6f63c19a39374f030c68593ed38c2afa0c86c202
Author: Pravin B Shelar <pshelar at ovn.org>
Date: 2016-07-26 (Tue, 26 Jul 2016)
Changed paths:
M acinclude.m4
M datapath/linux/compat/include/net/udp.h
M datapath/linux/compat/udp.c
Log Message:
-----------
datapath: compat: fix udp checksum calculation
In upstream linux kernel networking stack udp_set_csum() is called
with only udp header applied but in case of compat layer it can
be called with IP header. So following patch take the offset into
account.
Signed-off-by: Pravin B Shelar <pshelar at ovn.org>
Acked-by: Jesse Gross <jesse at kernel.org>
Commit: b3e263929a7a00c96a1329f93f1b8fce58b726e4
https://github.com/openvswitch/ovs/commit/b3e263929a7a00c96a1329f93f1b8fce58b726e4
Author: Pravin B Shelar <pshelar at ovn.org>
Date: 2016-07-26 (Tue, 26 Jul 2016)
Changed paths:
M datapath/linux/compat/gso.c
Log Message:
-----------
datapath: compat: unset skb encapsulation bit
OVS compat layer can handle tunnel GSO packets. but it does
keep skb encapsulation on for packet handled in GSO. This can
confuse some NIC drivers. I have seen this issue on intel devices:
>>> i40e 0000:42:00.0: TX driver issue detected, PF reset issued
Following patch resets this bit in case compat layer handles the packet.
VMware-BZ: 1698877
Signed-off-by: Pravin B Shelar <pshelar at ovn.org>
Acked-by: Jesse Gross <jesse at kernel.org>
Compare: https://github.com/openvswitch/ovs/compare/307d1d522d9c...b3e263929a7a
More information about the git
mailing list