diff options
| author | Xin Long <[email protected]> | 2019-11-21 10:08:38 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-11-21 19:46:18 +0000 |
| commit | f3bed7f8f93d60df11f94be14542682c905b5c3e (patch) | |
| tree | f054b17d18d0feac55dbcaf7350b2abc291a7209 /net/tipc | |
| parent | Merge branch 'net-sched-support-vxlan-and-erspan-options' (diff) | |
| download | kernel-f3bed7f8f93d60df11f94be14542682c905b5c3e.tar.gz kernel-f3bed7f8f93d60df11f94be14542682c905b5c3e.zip | |
net: remove the unnecessary strict_start_type in some policies
ct_policy and mpls_policy are parsed with nla_parse_nested(), which
does NL_VALIDATE_STRICT validation, strict_start_type is not needed
to set as it is actually trying to make some attributes parsed with
NL_VALIDATE_STRICT.
This patch is to remove it, and do the same on rtm_nh_policy which
is parsed by nlmsg_parse().
Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Xin Long <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions
