]> err.no Git - linux-2.6/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)
commitd33ed425c6cc14370d8c418b504328d2c3db58b4
treea026c1189014d6dc8a972c7584a6150e84679f8e
parent9a378270c085080b2f38dee6308de4d8413b5141
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