summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2018-07-01 14:31:54 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-07-03 22:08:00 +0200
commitfe48aecb4df837540f13b5216f27ddb306aaf4b9 (patch)
treefcc1c2912adf760e31e38e60f024fc4be97035db /.gitignore
parentIB/hfi1: Fix incorrect mixing of ERR_PTR and NULL return values (diff)
downloadlinux-fe48aecb4df837540f13b5216f27ddb306aaf4b9.tar.xz
linux-fe48aecb4df837540f13b5216f27ddb306aaf4b9.zip
RDMA/uverbs: Don't fail in creation of multiple flows
The conversion from offsetof() calculations to sizeof() wrongly behaved for missed exact size and in scenario with more than one flow. In such scenario we got "create flow failed, flow 10: 8 bytes left from uverb cmd" error, which is wrong because the size of kern_spec is exactly 8 bytes, and we were not supposed to fail. Cc: <stable@vger.kernel.org> # 3.12 Fixes: 4fae7f170416 ("RDMA/uverbs: Fix slab-out-of-bounds in ib_uverbs_ex_create_flow") Reported-by: Ran Rozenstein <ranro@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions