lwt: fix rx checksum setting for lwt devices tunneling over ipv6
authorPaolo Abeni <pabeni@redhat.com>
Wed, 17 Feb 2016 18:30:01 +0000 (19:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Feb 2016 20:39:30 +0000 (15:39 -0500)
commitc868ee7063bdb53f3ef9eac7bcec84960980b471
tree8b2d77241f2ca0e546823d9e22172e94d5c26e0e
parentb53ce3e7d407aa4196877a48b8601181162ab158
lwt: fix rx checksum setting for lwt devices tunneling over ipv6

the commit 35e2d1152b22 ("tunnels: Allow IPv6 UDP checksums to be
correctly controlled.") changed the default xmit checksum setting
for lwt vxlan/geneve ipv6 tunnels, so that now the checksum is not
set into external UDP header.
This commit changes the rx checksum setting for both lwt vxlan/geneve
devices created by openvswitch accordingly, so that lwt over ipv6
tunnel pairs are again able to communicate with default values.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Acked-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Jesse Gross <jesse@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/geneve.c
net/openvswitch/vport-vxlan.c