[ofa-general] Re: dst_ifdown breaks infiniband?
Alexey Kuznetsov
kuznet at ms2.inr.ac.ru
Mon Mar 19 05:59:19 PDT 2007
Hello!
> infiniband sets parm->neigh_destructor, and I search for a way to prevent
> this destructor from being called after the module has been unloaded.
> Ideas?
It must be called in any case to update/release internal ipoib structures.
The idea is to move call of parm->neigh_destructor from neighbour destructor
to the moment when it is unhashed, right after n->dead is set.
infiniband is the only user (atm clip uses it too, but that use is obviously
dummy), so that nobody will be harmed.
But ipoib will have to check for validity of skb->dst->neighbour before
attempt to reinitialize private data on dead (n->dead != 0) neighbour.
Alexey
More information about the general
mailing list