Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devlink: Compare to size_new in case of resource child validation
The current implementation checks the combined size of the children with the 'size' of the parent. The correct behavior is to check the combined size vs the pending change and to compare vs the 'size_new'. Fixes: d9f9b9a ("devlink: Add support for resource abstraction") Signed-off-by: Arkadi Sharshevsky <[email protected]> Tested-by: Yuval Mintz <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information