]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6d6606e35284ec1324cc722b6ebe8e3d8cc0231
tree1564e2f461f98216b1e6d0df35e54c0c98b91868
parenta6e7092bded448d9306c446f340f5f6c5def2493
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