public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* ib_destroy_cm_id() versus cm callback race ?
@ 2012-04-27 15:57 Bart Van Assche
       [not found] ` <4F9AC1F2.5070007-HInyCGIudOg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Bart Van Assche @ 2012-04-27 15:57 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; +Cc: yangfanlinux

Hello,

If I interpret the source code in drivers/infiniband/core/cm.c correctly
ib_destroy_cm_id() can return before an ongoing cm_id callback has
finished. Is this on purpose ? If not, isn't there a
flush_workqueue(cm.wq) call missing in cm_destroy_id() ?

Thanks,

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-01  7:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-27 15:57 ib_destroy_cm_id() versus cm callback race ? Bart Van Assche
     [not found] ` <4F9AC1F2.5070007-HInyCGIudOg@public.gmane.org>
2012-04-27 17:18   ` Hefty, Sean
     [not found]     ` <1828884A29C6694DAF28B7E6B8A82373469D891F-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-04-28  9:56       ` Bart Van Assche
     [not found]         ` <4F9BBEEB.40806-HInyCGIudOg@public.gmane.org>
2012-04-30 18:29           ` Hefty, Sean
     [not found]             ` <1828884A29C6694DAF28B7E6B8A82373469FED01-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-04-30 19:04               ` Bart Van Assche
     [not found]                 ` <4F9EE22A.4020000-HInyCGIudOg@public.gmane.org>
2012-04-30 19:27                   ` Hefty, Sean
     [not found]                     ` <1828884A29C6694DAF28B7E6B8A8237346A00D4A-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-05-01  7:19                       ` Bart Van Assche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox