diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-11-21 18:11:27 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-21 11:47:23 -0800 |
commit | 7b6a70f7376479ee0a185b7c2e57b26243f1052d (patch) | |
tree | 2340c6f5aae6d06cd4315ef268e9c8cf4d2c397b /drivers/net | |
parent | f3bed7f8f93d60df11f94be14542682c905b5c3e (diff) | |
download | linux-stable-7b6a70f7376479ee0a185b7c2e57b26243f1052d.tar.gz linux-stable-7b6a70f7376479ee0a185b7c2e57b26243f1052d.tar.bz2 linux-stable-7b6a70f7376479ee0a185b7c2e57b26243f1052d.zip |
lwtunnel: be STRICT to validate the new LWTUNNEL_IP(6)_OPTS
LWTUNNEL_IP(6)_OPTS are the new items in ip(6)_tun_policy, which
are parsed by nla_parse_nested_deprecated(). We should check it
strictly by setting .strict_start_type = LWTUNNEL_IP(6)_OPTS.
This patch also adds missing LWTUNNEL_IP6_OPTS in ip6_tun_policy.
Fixes: 4ece47787077 ("lwtunnel: add options setting and dumping for geneve")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions