diff options
author | Michael J. Ruhl <michael.j.ruhl@intel.com> | 2017-04-09 10:15:51 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-04-28 13:48:01 -0400 |
commit | 8561eae60ff9417a50fa1fb2b83ae950dc5c1e21 (patch) | |
tree | 6b90fadf3591c52c7ca7169917dfd065d448e69e /.mailmap | |
parent | 72fb70f5a34e7d1b095671cb2a5ad665db7c2312 (diff) | |
download | linux-8561eae60ff9417a50fa1fb2b83ae950dc5c1e21.tar.bz2 |
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: stable@vger.kernel.org
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions