]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/openvswitch/datapath.c
openvswitch: Compute checksum in skb_gso_segment() if needed
authorThomas Graf <tgraf@suug.ch>
Fri, 13 Dec 2013 14:22:22 +0000 (15:22 +0100)
committerJesse Gross <jesse@nicira.com>
Mon, 6 Jan 2014 23:53:24 +0000 (15:53 -0800)
commit09c5e6054e206ecf13945f50711856a5cb2d5de1
treebc81d09ae6a56eade80edd5f6ab8baf873e2ab33
parentbda56f143c9dc38ae7926ba21ebeb35359a6c051
openvswitch: Compute checksum in skb_gso_segment() if needed

The copy & csum optimization is no longer present with zerocopy
enabled. Compute the checksum in skb_gso_segment() directly by
dropping the HW CSUM capability from the features passed in.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/datapath.c