]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: act_tunnel_key: make UDP checksum configurable
authorJiri Benc <jbenc@redhat.com>
Wed, 14 Jun 2017 19:19:31 +0000 (21:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 18:21:03 +0000 (14:21 -0400)
commit296e7875ca94072d9d172b4e57acc5cb1d4ab88a
treeb3299c65908caf432edf5aa23d45c8fd99e98440
parentdf3f68e5e191909d853e820a8f7b7271202f35e4
net: sched: act_tunnel_key: make UDP checksum configurable

Allow requesting of zero UDP checksum for encapsulated packets. The name and
meaning of the attribute is "NO_CSUM" in order to have the same meaning of
the attribute missing and being 0.

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