[Linux-stable-mirror] [PATCH 3.16 008/133] IB/core: Fix the validations of a multicast LID in attach or detach operations