On Aug 16, 2005, at 8:30 AM, Michael S. Tsirkin wrote:
Why not? You cant really bind to port 0, can you?

I don't think so. It was Libor who objected to this, so he must have had a reason.


Maybe its a good idea to init bind_next at socket creation, at port_put
    we could call list_del_init, and/or use list_empty to figure out
    whether the socket is on the bind list.


Do you mean we would setup the bind_next field to point to itself?


Yes.

Other option is to initialize and check for LIST_POISON[12].


This is normally reserved for list heads.


What's list_del_init for then?

Resetting a list?

-tduffy
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to