aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorSudip Mukherjee <[email protected]>2016-03-10 12:21:11 +0000
committerJon Mason <[email protected]>2016-03-18 00:52:15 +0000
commit2572c7fb4e4b941af9a0206ac8093d362ae6d371 (patch)
tree108abf8ced1b14f933e9415f48df1dbb99c2bac6 /net/switchdev/switchdev.c
parentntb: add missing setup of translation window (diff)
downloadkernel-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