diff options
author | David S. Miller <davem@davemloft.net> | 2018-09-28 19:24:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-28 19:24:48 +0200 |
commit | 31df0cffa974df05a7036d1e5e5dbf0733c7f5ff (patch) | |
tree | 8cce360cee760f94af43ef1c236cdbbbbf57a4d3 /lib/test_siphash.c | |
parent | net-ipv4: remove 2 always zero parameters from ipv4_redirect() (diff) | |
parent | netlink: add nested array policy validation (diff) | |
download | linux-31df0cffa974df05a7036d1e5e5dbf0733c7f5ff.tar.xz linux-31df0cffa974df05a7036d1e5e5dbf0733c7f5ff.zip |
Merge branch 'netlink-nested-policy-validation'
Johannes Berg says:
====================
netlink: nested policy validation
This adds nested policy validation, which lets you specify the
nested attribute type, e.g. NLA_NESTED with sub-policy, or the
new NLA_NESTED_ARRAY with sub-sub-policy.
Changes in v2:
* move setting the bad attr pointer/message into validate_nla()
* remove the recursion patch since that's no longer needed
* simply skip the generic bad attr pointer/message setting in
case of nested nla_validate() failing since that could fail
only due to validate_nla() failing inside, which already sets
the extack information
Changes in v3:
* fix NLA_REJECT to have an error message if none is in policy
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_siphash.c')
0 files changed, 0 insertions, 0 deletions