diff options
author | Jiasheng Jiang <[email protected]> | 2021-12-15 22:37:31 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-12-16 10:55:32 +0000 |
commit | 407ecd1bd726f240123f704620d46e285ff30dd9 (patch) | |
tree | bd2b4f10b2eeb7d062427e9d8299e86bbe6db0b3 /net/lapb/lapb_timer.c | |
parent | 0546b224cc7717cc8a2db076b0bb069a9c430794 (diff) |
sfc_ef100: potential dereference of null pointer
The return value of kmalloc() needs to be checked.
To avoid use in efx_nic_update_stats() in case of the failure of alloc.
Fixes: b593b6f1b492 ("sfc_ef100: statistics gathering")
Signed-off-by: Jiasheng Jiang <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions