]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mad: Do not check MAD sizes in roce and ib drivers
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 29 Oct 2019 06:27:37 +0000 (08:27 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 6 Nov 2019 19:55:22 +0000 (15:55 -0400)
commit659ab9713c1a4b23781ce32d9f6e07c13d61041a
treee1d7ca6a00e06eca9073d1e1d389b9dfc4e83c0f
parentb72a4e2323fc9923641cbc7c133a78d5f400dcbe
RDMA/mad: Do not check MAD sizes in roce and ib drivers

All callers for process_mad allocate MAD structures with proper sizes,
there is no need to recheck it.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx4/mad.c
drivers/infiniband/hw/mlx5/mad.c
drivers/infiniband/hw/mthca/mthca_mad.c
drivers/infiniband/hw/ocrdma/ocrdma_ah.c
drivers/infiniband/hw/qib/qib_mad.c