[openib-general] possible oops when callingipoib_neigh_destructor while ipoib mod ule is down.

Roland Dreier roland at topspin.com
Mon Nov 29 09:43:12 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.

That's a possibility but then no IPoIB neighbour structures could ever
be garbage collected, which doesn't seem like a good idea.

 - Roland




More information about the general mailing list