On Wed, Feb 1, 2012 at 1:13 PM, David Miller <[email protected]> wrote: >> Perhaps we could do some RCU-ish thing where we don't actually >> free the ipoib_neigh immediately?
> RCU could be used to fix the race, but the difficulty in converting > this code over to dst_lookup_neigh() would remain and the latter is > more important to me than the former right now :-) OK. So do you have any thoughts about what the generic key available at transmit time (as you alluded to in your first message) might be? As far as I can figure things, it has to be something roughly equivalent to the neighbour, since it has to have the same type of information as what ARP/ND tells us. I guess I don't understand the on-demand lookup of the neigh. - R. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
