net: sched: act_tunnel_key: request UDP checksum by default
authorJiri Benc <jbenc@redhat.com>
Wed, 14 Jun 2017 19:19:30 +0000 (21:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 18:21:03 +0000 (14:21 -0400)
commit63fe4c39d2c1f67d9c9a58da0ec8627516a40d9a
treedb4932382fb2a9241ff321b3517a9a0583a63db5
parent9d7cdedd0fe514c294dbae8016cbee09d1d6231f
net: sched: act_tunnel_key: request UDP checksum by default

There's currently no way to request (outer) UDP checksum with
act_tunnel_key. This is problem especially for IPv6. Right now, tunnel_key
action with IPv6 does not work without going through hassles: both sides
have to have udp6zerocsumrx configured on the tunnel interface. This is
obviously not a good solution universally.

It makes more sense to compute the UDP checksum by default even for IPv4.
Just set the default to request the checksum when using act_tunnel_key.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_tunnel_key.c