>Now, no one seems responsible for freeing the memory allocated by >kzalloc in procedure cm_add_one (file drivers/infiniband/core/cm.c): > > /**** jpm: Who deallocates this kzalloc when the cm device is removed??? */ > cm_dev = kzalloc(sizeof(*cm_dev) + sizeof(*port) * > ib_device->phys_port_cnt, GFP_KERNEL); > if (!cm_dev) > return; > > cm_dev->ib_device = ib_device; > cm_get_ack_delay(cm_dev); > > cm_dev->device = device_create_drvdata(&cm_class, &ib_device->dev, > MKDEV(0, 0), NULL, > "%s", ib_device->name); > >Am I correct?
It looks like it. I will check into this more on Monday. Thanks. - Sean (Sorry if this breaks the thread.) _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
