mlx4_core: Avoid vunmap() of invalid pointer if allocation fails
authorAli Ayoub <ali@dev.mellanox.co.il>
Tue, 11 Jan 2011 01:42:06 +0000 (17:42 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Jan 2011 01:42:06 +0000 (17:42 -0800)
commit030b4b3309e29c6c857d8521c3076743663c259e
tree07fb6c45846564c6c356f102216f5311c05ccad9
parent3afa9f19e5bd16abed998b7bf1b178206403286f
mlx4_core: Avoid vunmap() of invalid pointer if allocation fails

Signed-off-by: Ali Ayoub <ali@mellanox.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/alloc.c