diff options
| author | Sudip Mukherjee <[email protected]> | 2016-03-10 12:21:11 +0000 |
|---|---|---|
| committer | Jon Mason <[email protected]> | 2016-03-18 00:52:15 +0000 |
| commit | 2572c7fb4e4b941af9a0206ac8093d362ae6d371 (patch) | |
| tree | 108abf8ced1b14f933e9415f48df1dbb99c2bac6 /net/switchdev/switchdev.c | |
| parent | ntb: add missing setup of translation window (diff) | |
| download | kernel-2572c7fb4e4b941af9a0206ac8093d362ae6d371.tar.gz kernel-2572c7fb4e4b941af9a0206ac8093d362ae6d371.zip | |
ntb: fix possible NULL dereference
kmalloc can fail and we should check for NULL before using the pointer
returned by kmalloc.
Signed-off-by: Sudip Mukherjee <[email protected]>
Acked-by: Dave Jiang <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
