]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20dbfa3082a6ecca6c7025ede29e67ada1b5c807
tree594287dc55fe5512781ad0678ad7bc3c449c9d33
parent7b0c06b0643aa3f29d0ca150b074ae840d2b9065
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