Re: [PATCH RFC] ipoib: good references make good neighbors

2010-09-02 Thread Roland Dreier
I think the real fix is the patch I sent to linux-rdma: https://patchwork.kernel.org/patch/120013/ Patchwork seems to be up now. Chris, if you could try this patch out and see if it fixes your issue that would be great, since you seem to be able to reproduce the crashes pretty reliably. -

Re: [PATCH RFC] ipoib: good references make good neighbors

2010-08-31 Thread Chris Mason
On Mon, Aug 30, 2010 at 05:11:01PM -0700, Ralph Campbell wrote: [ add a reference to neighbours inside ipoib ] The problem with this solution is that it creates a reference counting loop so that the reference count never goes to zero. struct neighbour in the kernel points to struct

Re: [PATCH RFC] ipoib: good references make good neighbors

2010-08-30 Thread Ralph Campbell
The problem with this solution is that it creates a reference counting loop so that the reference count never goes to zero. struct neighbour in the kernel points to struct ipoib_neigh which points back to struct neighbor. If the back pointer holds a reference, then something besides

[PATCH RFC] ipoib: good references make good neighbors

2010-08-23 Thread Chris Mason
Hi everyone, We're having a problem where a kernel tree based on 2.6.32 + OFED 1.5.1 is seeing random memory corruption, always in the form of zeros where good data is supposed to live. CONFIG_PAGE_DEBUG_ALLOC showed a use after free here: RIP: 0010:[a02b0bf0] [a02b0bf0]