On Mon, 2019-10-07 at 16:12 +0530, Krishnamraju Eraparaju wrote: > As siw_free_qp() is the last routine to access 'siw_base_qp' > structure, > freeing this structure early in siw_destroy_qp() could cause > touch-after-free issue. > Hence, moved kfree(siw_base_qp) from siw_destroy_qp() to > siw_free_qp(). > > Fixes: 303ae1cdfdf7 ("rdma/siw: application interface") > Signed-off-by: Krishnamraju Eraparaju <krishna2@xxxxxxxxxxx> Thanks, applied to for-rc. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: B826A3330E572FDD Fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: This is a digitally signed message part