diff options
| author | Jakub Kicinski <[email protected]> | 2018-07-25 19:40:35 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-25 22:17:44 -0700 |
| commit | 4662717038679520af832fcb8c4fefadb97facf8 (patch) | |
| tree | 6f0ba9dd4a68e44ea5b925d18d34f3d7dfffabbd /tools/perf/scripts/python | |
| parent | 5b0ced17edc5710d4e946392d0f2934a9e07b37f (diff) | |
nfp: use kvcalloc() to allocate SW buffer descriptor arrays
Use kvcalloc() instead of tmp variable + kzalloc() when allocating
SW buffer information to allow falling back to vmalloc and to protect
from theoretical integer overflow.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Dirk van der Merwe <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions