diff options
| author | Nicholas Mc Guire <[email protected]> | 2018-08-23 10:24:02 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2018-08-23 20:10:49 +0000 |
| commit | 126c97f4d0d1b5b956e8b0740c81a2b2a2ae548c (patch) | |
| tree | 98db93cba5fa52c99aeb86f1fcbb2111e9346093 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | cifs: check if SMB2 PDU size has been padded and suppress the warning (diff) | |
| download | kernel-126c97f4d0d1b5b956e8b0740c81a2b2a2ae548c.tar.gz kernel-126c97f4d0d1b5b956e8b0740c81a2b2a2ae548c.zip | |
cifs: check kmalloc before use
The kmalloc was not being checked - if it fails issue a warning
and return -ENOMEM to the caller.
Signed-off-by: Nicholas Mc Guire <[email protected]>
Fixes: b8da344b74c8 ("cifs: dynamic allocation of ntlmssp blob")
Signed-off-by: Steve French <[email protected]>
Reviewed-by: Pavel Shilovsky <[email protected]>
cc: Stable <[email protected]>`
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
