Skip to content
Commit f617e5ff authored by Wei Yongjun's avatar Wei Yongjun Committed by Jason Gunthorpe
Browse files

RDMA/srpt: Use kmem_cache_free() instead of kfree()



memory allocated by kmem_cache_alloc() should be freed using
kmem_cache_free(), not kfree().

Fixes: 5dabcd04 ("RDMA/srpt: Add support for immediate data")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 58f7c0bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment