RDMA fixes 2018-06-24
Status from this message: I applied these two to for-rc
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | RDMA/uverbs: Protect from attempts to create flows on unsupported QPdrivers/ | +8 | 1 reply | |
| 2/12 | RDMA/uverbs: Check existence of create_flow callbackdrivers/ | +5 | 0 replies | |
| 3/12 | RDMA/verbs: Drop kernel variant of create_flowdrivers/ include/ | +0 | 0 replies | |
| 4/12 | RDMA/verbs: Drop kernel variant of destroy_flowdrivers/ drivers/ drivers/ +1 more | +8 | 0 replies | |
| 5/12 | net/mlx5: Rate limit errors in command interfacedrivers/ drivers/ | +10 | 1 reply | |
| 6/12 | RDMA/uverbs: Don't overwrite NULL pointer with ZERO_SIZE_PTRdrivers/ | +4 | 2 replies | |
| 7/12 | RDMA/umem: Don't check for negative return value of dma_map_sg_attrs()drivers/ | +1 | 0 replies | |
| 8/12 | overflow.h: Add arithmetic shift helperinclude/ | +23 | 12 replies | |
| 9/12 | RDMA/mlx5: Fix shift overflow in mlx5_ib_create_wqdrivers/ | +5 | 3 replies | |
| 10/12 | RDMA/mlx5: Reuse existed shift_overlow helperdrivers/ | +7 | 0 replies | |
| 11/12 | RDMA/uverbs: Remove redundant checkdrivers/ | +0 | 0 replies | |
| 12/12 | RDMA/uverbs: Fix slab-out-of-bounds in ib_uverbs_ex_create_flowdrivers/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH rdma-next 00/12] RDMA fixes 2018-06-24
From: Leon Romanovsky <[email protected]>
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(-)