]> git.baikalelectronics.ru Git - kernel.git/commit
lwtunnel: change to use nla_parse_nested on new options
authorXin Long <lucien.xin@gmail.com>
Sun, 10 Nov 2019 04:16:22 +0000 (12:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Nov 2019 22:42:14 +0000 (14:42 -0800)
commit50089e6d92351a67ab82f53e39b5956b3298c33d
tree784db20a9f10532cb8b1f4a6d4449b86780e4243
parent6109aaaeb1002edadbe01df9410d712b44b1cb3f
lwtunnel: change to use nla_parse_nested on new options

As the new options added in kernel, all should always use strict
parsing from the beginning with nla_parse_nested(), instead of
nla_parse_nested_deprecated().

Fixes: 228ba77284f5 ("lwtunnel: add options setting and dumping for erspan")
Fixes: 1361eec431ff ("lwtunnel: add options setting and dumping for vxlan")
Fixes: 7b5d58b41f9e ("lwtunnel: add options setting and dumping for geneve")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_tunnel_core.c