Re: Infiniband stack allows references to freed memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From: Roland Dreier <roland@xxxxxxxxxx>
Date: Wed, 1 Feb 2012 14:06:48 -0800

> On Wed, Feb 1, 2012 at 2:02 PM, David Miller <davem@xxxxxxxxxxxxx> wrote:
>> So the crux of the matter is making sure we can get at the correct
>> destination address in the packet header.  Also we might have to
>> conditionalize the code based upon protocol type, does ipoib handle
>> ipv6?
> Yes, it does both v4 and v6.

So it should be just a matter of checking skb->protocol or similar,
plucking out the daddr from the ipv4/ipv6 header, and then adding
the appropriate neigh release calls.

I have absolutely no way to test this stuff, so could you please
work on the dst_lookup_neigh() conversion of ipoib?

To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]

Add to Google Powered by Linux