Merge branch 'sched-act_tunnel_key-UDP-checksusm'
authorDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 18:21:04 +0000 (14:21 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 18:21:04 +0000 (14:21 -0400)
Jiri Benc says:

====================
net: sched: act_tunnel_key: UDP checksums

Currently, the tunnel_key tc action does not set TUNNEL_CSUM, thus
transmitting packets with zero UDP checksum. This is inconsistent with how
we treat non-lwt UDP tunnels where the default is to fill in the UDP
checksum. Non-zero UDP checksum is the better default anyway for various
reasons previously discussed.

Make this configurable for the tunnel_key tc action with the default being
non-zero checksum. Saves a lot of surprises especially with IPv6.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge