IB/srp: Check match_strdup() return
authorIshai Rabinovitz <ishai@mellanox.co.il>
Tue, 16 Jan 2007 15:20:25 +0000 (17:20 +0200)
committerRoland Dreier <rolandd@cisco.com>
Tue, 23 Jan 2007 01:03:54 +0000 (17:03 -0800)
commita20f3a6d7e67a8aee571fb04634a631ba59f6e92
tree594287dc55fe5512781ad0678ad7bc3c449c9d33
parent2596627c5c30b45aa206b7b1b864bf00de3c3503
IB/srp: Check match_strdup() return

Checks if the kmalloc in match_strdup() was successful, and bail out
on looking at the token if it failed.

Signed-off-by: Ishai Rabinovitz <ishai@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c