diff options
author | Jakub Kicinski <[email protected]> | 2020-03-02 21:05:11 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-03 13:28:48 -0800 |
commit | 8750939b6ad86abc3f53ec8a9683a1cded4a5654 (patch) | |
tree | 0f6f8c7b5bc96f5a373dbeadb7510674dbd3b0ac /drivers/fpga/fpga-bridge.c | |
parent | ab124d580ad40b0666d7892ceccd8c4ac1ce4c79 (diff) |
devlink: validate length of param values
DEVLINK_ATTR_PARAM_VALUE_DATA may have different types
so it's not checked by the normal netlink policy. Make
sure the attribute length is what we expect.
Fixes: e3b7ca18ad7b ("devlink: Add param set command")
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions