diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/hw/mlx4/mad.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx4/mad.c b/drivers/infiniband/hw/mlx4/mad.c index 4c1e72fc8f57..cdca3a511e1c 100644 --- a/drivers/infiniband/hw/mlx4/mad.c +++ b/drivers/infiniband/hw/mlx4/mad.c | |||
@@ -255,7 +255,8 @@ int mlx4_ib_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, | |||
255 | return IB_MAD_RESULT_SUCCESS; | 255 | return IB_MAD_RESULT_SUCCESS; |
256 | } else if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_PERF_MGMT || | 256 | } else if (in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_PERF_MGMT || |
257 | in_mad->mad_hdr.mgmt_class == MLX4_IB_VENDOR_CLASS1 || | 257 | in_mad->mad_hdr.mgmt_class == MLX4_IB_VENDOR_CLASS1 || |
258 | in_mad->mad_hdr.mgmt_class == MLX4_IB_VENDOR_CLASS2) { | 258 | in_mad->mad_hdr.mgmt_class == MLX4_IB_VENDOR_CLASS2 || |
259 | in_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_CONG_MGMT) { | ||
259 | if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && | 260 | if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && |
260 | in_mad->mad_hdr.method != IB_MGMT_METHOD_SET) | 261 | in_mad->mad_hdr.method != IB_MGMT_METHOD_SET) |
261 | return IB_MAD_RESULT_SUCCESS; | 262 | return IB_MAD_RESULT_SUCCESS; |