android_kernel_xiaomi_sm8350/drivers/infiniband/hw
Ralph Campbell 30d149ab58 IB/ipath: Fix possible data corruption if multiple SGEs used for receive
The code to copy data from the receive queue buffers to the IB SGEs
doesn't check the SGE length, only the memory region/page length when
copying data.  This could overwrite parts of the user's memory that
were not intended to be written.  It can only happen if multiple SGEs
are used to describe a receive buffer which almost never happens in
practice.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-07-09 20:12:26 -07:00
..
amso1100 [IPV4]: Convert IPv4 devconf to an array 2007-06-07 13:39:13 -07:00
cxgb3 IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
ehca IB/ehca: Refactor "maybe missed event" code 2007-07-09 16:17:32 -07:00
ipath IB/ipath: Fix possible data corruption if multiple SGEs used for receive 2007-07-09 20:12:26 -07:00
mlx4 IB/mlx4: Include linux/mutex.h from mlx4_ib.h 2007-07-09 16:17:33 -07:00
mthca IB/mthca, mlx4_core: Fix typo in comment 2007-06-07 11:51:59 -07:00