• Jiri Benc's avatar
    net: sched: act_tunnel_key: request UDP checksum by default · 63fe4c39
    Jiri Benc authored
    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: default avatarJiri Benc <jbenc@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    63fe4c39
act_tunnel_key.c 8.87 KB