Hi Bart, On 11/21/2016 3:52 PM, Bart Van Assche wrote: > Hello Hal, > > I think such a check is already present in ib_register_mad_agent(): > > if (mad_reg_req->mgmt_class >= MAX_MGMT_CLASS) { You're right. -- Hal -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html