Thanks, applied except for this bit:

 >      @@ -673,6 +674,7 @@ static void ipoib_neigh_destructor(struc
 >                              ipoib_put_ah(neigh->ah);
 >                      list_del(&neigh->list);
 >                      *to_ipoib_neigh(n) = NULL;
 >      +               n->ops->destructor = NULL;
 >                      kfree(neigh);
 >              }

This doesn't seem necessary to me, because we are actually in the call
to the neighbour destructor.  So the neighbour struct will be freed
right after we return and there's no risk of another call.

Thanks,
 Roland
_______________________________________________
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