diff options
author | Dasaratharaman Chandramouli | 2017-04-29 20:41:16 +0200 |
---|---|---|
committer | Doug Ledford | 2017-05-01 20:32:43 +0200 |
commit | 4ba66093bdc6316cd2fe48e74a54bfc29599322f (patch) | |
tree | 88d7591433f9e9dc6a7e7b3aa734064c57d6ea16 /drivers/infiniband/hw/mlx4/mad.c | |
parent | IB/core: Add braces when using sizeof (diff) | |
download | kernel-qcow2-linux-4ba66093bdc6316cd2fe48e74a54bfc29599322f.tar.gz kernel-qcow2-linux-4ba66093bdc6316cd2fe48e74a54bfc29599322f.tar.xz kernel-qcow2-linux-4ba66093bdc6316cd2fe48e74a54bfc29599322f.zip |
IB/core: Check for global flag when using ah_attr
Read/write grh fields of the ah_attr only if the
ah_flags field has the IB_AH_GRH bit enabled
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Don Hiatt <don.hiatt@intel.com>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mad.c')
0 files changed, 0 insertions, 0 deletions