]> git.baikalelectronics.ru Git - kernel.git/commit
IB/iser: Handle iser_device allocation error gracefully
authorArne Redlich <arne.redlich@xiranet.com>
Tue, 4 Mar 2008 12:11:54 +0000 (14:11 +0200)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Mar 2008 04:17:51 +0000 (21:17 -0700)
commit8e87609c74480c4ab4f4a3ab3aa8ecdaba9749db
treea026c1189014d6dc8a972c7584a6150e84679f8e
parent4e418d3ff581cc9208cff6db15c82803fc9ae7ad
IB/iser: Handle iser_device allocation error gracefully

"iser_device" allocation failure is "handled" with a BUG_ON() right
before dereferencing the NULL-pointer - fix this!

Signed-off-by: Arne Redlich <arne.redlich@xiranet.com>
Signed-off-by: Erez Zilber <erezz@voltaire.com>
drivers/infiniband/ulp/iser/iser_verbs.c