diff options
author | Jakub Kicinski <kuba@kernel.org> | 2020-03-03 08:05:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-18 09:14:14 +0300 |
commit | f9f04772a2a8fd05ef74badf4e5195b05803020b (patch) | |
tree | d240057bf1ff1eebb0a7e5bea1f4f94ee5692400 /Makefile | |
parent | 34636d249831ed4a21068e310ba57a5f1d9baf07 (diff) | |
download | linux-f9f04772a2a8fd05ef74badf4e5195b05803020b.tar.xz |
devlink: validate length of param values
[ Upstream commit 8750939b6ad86abc3f53ec8a9683a1cded4a5654 ]
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 <kuba@kernel.org>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions