diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2022-11-04 22:13:34 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-11-07 15:30:16 +0300 |
| commit | 7747eb75f6185a92db2e4a2643fdf6e4b6d87153 (patch) | |
| tree | dc000cf24464b445cd0a6c788824f0b0a6594c45 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 20b0b53aca436af9fece9428ca3ab7c7b9cf4583 (diff) | |
| download | linux-7747eb75f6185a92db2e4a2643fdf6e4b6d87153.tar.xz | |
genetlink: load policy based on validation flags
Set the policy and maxattr pointers based on validation flags.
genl_family_rcv_msg_attrs_parse() will do nothing and return NULL
if maxattrs is zero, so no behavior change is expected.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
