> > ok and one more question, the syzkaller reported failure in this > line line: > > 4170 if (rdma_protocol_roce(id->device, id->port_num)) > > > > Will the check of existence of id->device enough? Or should I need > to check port_num too? > > Sure would be confusing if device was valid but port_num was not :( Checking device is enough, both are set in cma_acquire_device() -- 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