Thread (1 message) 1 message, 1 author, 2012-02-02

Re: Infiniband stack allows references to freed memory

From: David Miller <hidden>
Date: 2012-02-02 01:21:28

From: Roland Dreier <redacted>
Date: Wed, 1 Feb 2012 15:28:18 -0800
I'm happy to do it but I'm still not quite sure I understand what the
end state is.  Is it just a matter of peeking into the skb contents
to get at the daddr, looking up the neigh based on that and then
continuing to handle neighs as we do now?
Right, you also will now have a reference to the neigh so you must
release it.
Does that also work for ARP packets?
ARP packets have no dst_entry, so would need to be handled specially
right now anyways.
Are there any examples in your tree I can crib off of?
grep for dst_neigh_lookup() in the net-next tree.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help