Pull rdma fixes from Jason Gunthorpe: - Fix several syzkaller found bugs: - Poor parsing of the RDMA_NL_LS_OP_IP_RESOLVE netlink - GID entry refcount leaking when CM destruction races with multicast establishment - Missing refcount put in ib_del_sub_device_and_put() - Fixup recently introduced uABI padding for 32 bit consistency - Avoid user triggered math overflow in MANA and AFA - Reading invalid netdev data during an event - kdoc fixes - Fix never-working gid copying in ib_get_gids_from_rdma_hdr - Typo in bnxt when validating the BAR - bnxt mis-parsed IB_SEND_IP_CSUM so it didn't work always - bnxt out of bounds access in bnxt related to the counters on new devices - Allocate the bnxt PDE table with the right sizing - Use dma_free_coherent() correctly in bnxt - Allow rxe to be unloadable when CONFIG_PROVE_LOCKING by adjusting the tracking of the global sockets it uses - Missing unlocking on error path in rxe - Compute the right number of pages in a MR in rtrs * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: RDMA/bnxt_re: fix dma_free_coherent() pointer RDMA/rtrs: Fix clt_path::max_pages_per_mr calculation IB/rxe: Fix missing umem_odp->umem_mutex unlock on error path RDMA/bnxt_re: Fix to use correct page size for PDE table RDMA/bnxt_re: Fix OOB write in bnxt_re_copy_err_stats() RDMA/bnxt_re: Fix IB_SEND_IP_CSUM handling in post_send RDMA/core: always drop device refcount in ib_del_sub_device_and_put() RDMA/rxe: let rxe_reclassify_recv_socket() call sk_owner_put() RDMA/bnxt_re: Fix incorrect BAR check in bnxt_qplib_map_creq_db() RDMA/core: Fix logic error in ib_get_gids_from_rdma_hdr() RDMA/efa: Remove possible negative shift RTRS/rtrs: clean up rtrs headers kernel-doc RDMA/irdma: avoid invalid read in irdma_net_event RDMA/mana_ib: check cqe length for kernel CQs RDMA/irdma: Fix irdma_alloc_ucontext_resp padding RDMA/ucma: Fix rdma_ucm_query_ib_service_resp struct padding RDMA/cm: Fix leaking the multicast GID table reference RDMA/core: Check for the presence of LS_NLA_TYPE_DGID correctly
Showing the changes to include/uapi (2 of 18 files). Show all
Unified · Split
| @@ -57,8 +57,8 @@ struct irdma_alloc_ucontext_resp { · 56 unmodified lines | |||
| 57 | __u8 rsvd2; | 57 | __u8 rsvd2; |
| 58 | __aligned_u64 comp_mask; | 58 | __aligned_u64 comp_mask; |
| 59 | __u16 min_hw_wq_size; | 59 | __u16 min_hw_wq_size; |
| 60 | __u8 revd3[2]; | ||
| 60 | __u32 max_hw_srq_quanta; | 61 | __u32 max_hw_srq_quanta; |
| 61 | __u8 rsvd3[2]; | ||
| 62 | }; | 62 | }; |
| 63 | 63 | ||
| 64 | struct irdma_alloc_pd_resp { | 64 | struct irdma_alloc_pd_resp { |
| @@ -192,6 +192,7 @@ struct rdma_ucm_query_path_resp { · 191 unmodified lines | |||
| 192 | 192 | ||
| 193 | struct rdma_ucm_query_ib_service_resp { | 193 | struct rdma_ucm_query_ib_service_resp { |
| 194 | __u32 num_service_recs; | 194 | __u32 num_service_recs; |
| 195 | __u32 reserved; | ||
| 195 | struct ib_user_service_rec recs[]; | 196 | struct ib_user_service_rec recs[]; |
| 196 | }; | 197 | }; |
| 197 | 198 | ||
| @@ -354,7 +355,7 @@ enum { · 156 unmodified lines | |||
| 354 | 355 | ||
| 355 | #define RDMA_USER_CM_IB_SERVICE_NAME_SIZE 64 | 356 | #define RDMA_USER_CM_IB_SERVICE_NAME_SIZE 64 |
| 356 | struct rdma_ucm_ib_service { | 357 | struct rdma_ucm_ib_service { |
| 357 | __u64 service_id; | 358 | __aligned_u64 service_id; |
| 358 | __u8 service_name[RDMA_USER_CM_IB_SERVICE_NAME_SIZE]; | 359 | __u8 service_name[RDMA_USER_CM_IB_SERVICE_NAME_SIZE]; |
| 359 | __u32 flags; | 360 | __u32 flags; |
| 360 | __u32 reserved; | 361 | __u32 reserved; |
| @@ -362,6 +363,7 @@ struct rdma_ucm_ib_service { · 1 unmodified line | |||
| 362 | 363 | ||
| 363 | struct rdma_ucm_resolve_ib_service { | 364 | struct rdma_ucm_resolve_ib_service { |
| 364 | __u32 id; | 365 | __u32 id; |
| 366 | __u32 reserved; | ||
| 365 | struct rdma_ucm_ib_service ibs; | 367 | struct rdma_ucm_ib_service ibs; |
| 366 | }; | 368 | }; |
| 367 | 369 | ||