net/sched: act_tunnel_key: Allow key-less tunnels
authorAdi Nissim <adin@mellanox.com>
Sun, 2 Dec 2018 12:55:20 +0000 (14:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Dec 2018 04:53:37 +0000 (20:53 -0800)
commit80ef0f22ceda1804cc572836722df7a33dec71c9
tree1564e2f461f98216b1e6d0df35e54c0c98b91868
parentd1ecf8a660fafd023f2e5792107381de6fb34357
net/sched: act_tunnel_key: Allow key-less tunnels

Allow setting a tunnel without a tunnel key. This is required for
tunneling protocols, such as GRE, that define the key as an optional
field.

Signed-off-by: Adi Nissim <adin@mellanox.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_tunnel_key.c