From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leon Romanovsky Subject: [PATCH rdma-next 00/12] RDMA fixes 2018-06-24 Date: Sun, 24 Jun 2018 11:23:41 +0300 Message-ID: <20180624082353.16138-1-leon@kernel.org> Cc: Leon Romanovsky , RDMA mailing list , Hadar Hen Zion , Matan Barak , Michael J Ruhl , Noa Osherovich , Raed Salem , Yishai Hadas , Saeed Mahameed , linux-netdev To: Doug Ledford , Jason Gunthorpe Return-path: Received: from mail.kernel.org ([198.145.29.99]:52680 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbeFXIYB (ORCPT ); Sun, 24 Jun 2018 04:24:01 -0400 Sender: netdev-owner@vger.kernel.org List-ID: From: Leon Romanovsky Hi, This is bunch of patches trigged by running syzkaller internally. I'm sending them based on rdma-next mainly for two reasons: 1, Most of the patches fix the old issues and it doesn't matter when they will hit the Linus's tree: now or later in a couple of weeks during merge window. 2. They interleave with code cleanup, mlx5-next patches and Michael's feedback on flow counters series. Thanks Leon Romanovsky (12): RDMA/uverbs: Protect from attempts to create flows on unsupported QP RDMA/uverbs: Check existence of create_flow callback RDMA/verbs: Drop kernel variant of create_flow RDMA/verbs: Drop kernel variant of destroy_flow net/mlx5: Rate limit errors in command interface RDMA/uverbs: Don't overwrite NULL pointer with ZERO_SIZE_PTR RDMA/umem: Don't check for negative return value of dma_map_sg_attrs() overflow.h: Add arithmetic shift helper RDMA/mlx5: Fix shift overflow in mlx5_ib_create_wq RDMA/mlx5: Reuse existed shift_overlow helper RDMA/uverbs: Remove redundant check RDMA/uverbs: Fix slab-out-of-bounds in ib_uverbs_ex_create_flow drivers/infiniband/core/umem.c | 2 +- drivers/infiniband/core/uverbs_cmd.c | 49 ++++++++++++++-------- drivers/infiniband/core/uverbs_std_types.c | 9 ++-- drivers/infiniband/core/verbs.c | 29 ------------- drivers/infiniband/hw/mlx5/qp.c | 16 +++++-- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 11 ++--- .../net/ethernet/mellanox/mlx5/core/mlx5_core.h | 6 +++ include/linux/overflow.h | 23 ++++++++++ include/rdma/ib_verbs.h | 4 -- 9 files changed, 83 insertions(+), 66 deletions(-)