android_kernel_xiaomi_sm8350/drivers/infiniband/hw
Michael S. Tsirkin 9d79f1b467 [PATCH] IB/mthca: Fix FMR breakage caused by kmemdup() conversion
Commit bed8bdfd ("IB: kmemdup() cleanup") introduced one bad conversion to
kmemdup() in mthca_alloc_fmr(), where the structure allocated and the
structure copied are not the same size.  Revert this back to the original
kmalloc()/memcpy() code.

Reported-by: Dotan Barak <dotanb@mellanox.co.il>.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <roland@digitalvampire.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-30 10:55:55 -08:00
..
amso1100 RDMA/amso1100: Fix memory leak in c2_qp_modify() 2006-12-12 11:50:20 -08:00
ehca [PATCH] slab: remove SLAB_KERNEL 2006-12-07 08:39:24 -08:00
ipath IB/ipath: Implement new verbs DMA mapping functions 2006-12-12 14:28:28 -08:00
mthca [PATCH] IB/mthca: Fix FMR breakage caused by kmemdup() conversion 2006-12-30 10:55:55 -08:00