[openib-general] possible oops when callingipoib_neigh_destructor while ipoib mod ule is down.
Roland Dreier
roland at topspin.com
Mon Nov 29 10:03:57 PST 2004
Fab> Maybe I'm clueless (quite likely), but why not just have each
Fab> neighbour structure take a reference on the module when it is
Fab> created? The destructor would release that reference. That
Fab> should solve races involved with cleaning up, as well as
Fab> ensuring that the module is still around for the destructor
Fab> to get invoked.
Sorry, I think I read this backwards before. But if each neighbour
has a reference on the IPoIB module then it will be nearly impossible
to unload the IPoIB module (which solves the problem but again in not
a very nice way).
- Roland
More information about the general
mailing list