diff options
author | Michael J. Ruhl <[email protected]> | 2017-04-09 10:15:51 -0700 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2017-04-28 13:48:01 -0400 |
commit | 8561eae60ff9417a50fa1fb2b83ae950dc5c1e21 (patch) | |
tree | 6b90fadf3591c52c7ca7169917dfd065d448e69e /include/linux/fpga/fpga-mgr.h | |
parent | 72fb70f5a34e7d1b095671cb2a5ad665db7c2312 (diff) |
IB/core: For multicast functions, verify that LIDs are multicast LIDs
The Infiniband spec defines "A multicast address is defined by a
MGID and a MLID" (section 10.5). Currently the MLID value is not
validated.
Add check to verify that the MLID value is in the correct address
range.
Fixes: 0c33aeedb2cf ("[IB] Add checks to multicast attach and detach")
Cc: [email protected]
Reviewed-by: Ira Weiny <[email protected]>
Reviewed-by: Dasaratharaman Chandramouli <[email protected]>
Signed-off-by: Michael J. Ruhl <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions