diff options
author | Tom Herbert <therbert@google.com> | 2014-06-04 20:20:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-05 01:46:39 -0400 |
commit | 359a0ea9875ef4f32c8425bbe1ae348e1fd2ed2a (patch) | |
tree | ca8567d5204c6b891dcf5d3e012ceb4a4f027c09 /net/openvswitch | |
parent | 4749c09c37030ccdc44aecebe0f71b02a377fc14 (diff) |
vxlan: Add support for UDP checksums (v4 sending, v6 zero csums)
Added VXLAN link configuration for sending UDP checksums, and allowing
TX and RX of UDP6 checksums.
Also, call common iptunnel_handle_offloads and added GSO support for
checksums.
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
-rw-r--r-- | net/openvswitch/vport-vxlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/vport-vxlan.c b/net/openvswitch/vport-vxlan.c index a93efa3f64c3..0edbd95c60e7 100644 --- a/net/openvswitch/vport-vxlan.c +++ b/net/openvswitch/vport-vxlan.c | |||
@@ -122,7 +122,7 @@ static struct vport *vxlan_tnl_create(const struct vport_parms *parms) | |||
122 | vxlan_port = vxlan_vport(vport); | 122 | vxlan_port = vxlan_vport(vport); |
123 | strncpy(vxlan_port->name, parms->name, IFNAMSIZ); | 123 | strncpy(vxlan_port->name, parms->name, IFNAMSIZ); |
124 | 124 | ||
125 | vs = vxlan_sock_add(net, htons(dst_port), vxlan_rcv, vport, true, false); | 125 | vs = vxlan_sock_add(net, htons(dst_port), vxlan_rcv, vport, true, 0); |
126 | if (IS_ERR(vs)) { | 126 | if (IS_ERR(vs)) { |
127 | ovs_vport_free(vport); | 127 | ovs_vport_free(vport); |
128 | return (void *)vs; | 128 | return (void *)vs; |