]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitebfd4b3ee133e8c4f256161decd94037839bf71b
treeb3299c65908caf432edf5aa23d45c8fd99e98440
parenta3498474644ec62ae80675a80a71f451831e82a3
parent296e7875ca94072d9d172b4e57acc5cb1d4ab88a
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>