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)
commit3d8bd78b79800d1518133d4fd6ea0680096f9249
treeb3299c65908caf432edf5aa23d45c8fd99e98440
parent9d7cdedd0fe514c294dbae8016cbee09d1d6231f
parent86087e170cd1f19e9b25e5d944d9f52fad9470f4
Merge branch 'sched-act_tunnel_key-UDP-checksusm'

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>