]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Convert OPA AH to IB for Extended LIDs only
authorDon Hiatt <don.hiatt@intel.com>
Mon, 6 Nov 2017 14:39:15 +0000 (06:39 -0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 13 Nov 2017 20:53:57 +0000 (15:53 -0500)
commitd8a7b5c69dc559e412755bd73487f0d0e99d62c8
tree5f030d44f23f9fd05dd86d42fcd6cdadd9dc5833
parent9409279e91615db31a9474da714e75b95c3c5f7d
IB/core: Convert OPA AH to IB for Extended LIDs only

When deciding to convert an OPA AH to IB we were incorrectly
including the IB multicast range. At this layer, all Extended
LIDs will be larger than IB_LID_PERMISSIVE. Change comparison
accordingly.

Fixes: d3990332aeb4 ("IB/core: Convert ah_attr from OPA to IB when copying to user")
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/uverbs_marshall.c