Files
android_kernel_xiaomi_sm8450/drivers/infiniband/core
Mark Bloch 3c7ba5760a IB/core: Avoid unsigned int overflow in sg_alloc_table
sg_alloc_table gets unsigned int as parameter while the driver
returns it as size_t. Check npages isn't greater than maximum
unsigned int.

Fixes: eeb8461e36 ("IB: Refactor umem to use linear SG table")
Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-11-16 20:03:44 -05:00
..
2015-10-08 11:09:10 +01:00
2015-06-12 14:49:18 -04:00
2015-05-05 13:21:27 -04:00
2016-03-03 10:20:25 -05:00
2016-06-06 19:36:21 -04:00
2016-01-19 15:25:45 -05:00
2008-07-14 23:48:44 -07:00
2016-05-13 13:37:18 -04:00
2016-03-03 10:20:25 -05:00
2016-03-03 10:20:25 -05:00