IB/iser: Fix use after free in iser_snd_completion()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 29 Jan 2014 13:18:51 +0000 (16:18 +0300)
committerRoland Dreier <roland@purestorage.com>
Fri, 14 Feb 2014 17:48:09 +0000 (09:48 -0800)
commitfd8b48b22a2b7cdf21f15b01cae379e6159a7eea
treee3dcca0a35abce2741e8540c45fb0f8990a5e887
parent7d9eacf9457efc6b614665e1095336c11ad83f0d
IB/iser: Fix use after free in iser_snd_completion()

We use "tx_desc" again after we free it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iser_initiator.c