summaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorKarsten Graul <kgraul@linux.ibm.com>2020-10-14 20:43:29 +0300
committerJakub Kicinski <kuba@kernel.org>2020-10-15 19:54:43 +0300
commit6b1bbf94ab369d97ed3bdaa561521a52c27ef619 (patch)
tree71b0f3f664252ab57d21661c989a399fc8889193 /CREDITS
parentef12ad45880b696eb993d86c481ca891836ab593 (diff)
downloadlinux-6b1bbf94ab369d97ed3bdaa561521a52c27ef619.tar.xz
net/smc: fix invalid return code in smcd_new_buf_create()
smc_ism_register_dmb() returns error codes set by the ISM driver which are not guaranteed to be negative or in the errno range. Such values would not be handled by ERR_PTR() and finally the return code will be used as a memory address. Fix that by using a valid negative errno value with ERR_PTR(). Fixes: 72b7f6c48708 ("net/smc: unique reason code for exceeded max dmb count") Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions