[openib-general] Question about QP's in timewait state and CM stale conn rejects

Sean Hefty sean.hefty at intel.com
Tue Aug 22 08:52:02 PDT 2006


>Cool, I would go for XOR-ing a random value with the **local id** .
>
>Sean, my understanding it can be narrowed for doing so in:
>
>1) cm_alloc_id() after calling idr_get_new_above()
>2) cm_free_id() before calling idr_remove()
>3) cm_get_id() before calling idr_find()
>
>and initializing the random value we XOR in ib_cm_init()
>
>What do you think?

I like this approach as well.  I need to see what else I have in my queue first,
but will work on a patch, since it seems straightforward.

- Sean




More information about the general mailing list