From: Eli Cohen Date: Tue, 10 Jan 2006 15:43:02 +0000 (-0800) Subject: IPoIB: Fix address handle refcounting for multicast groups X-Git-Tag: v2.6.16-rc1~172^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97460df37ea3335ca11562568932c9f9facfecdb;p=pandora-kernel.git IPoIB: Fix address handle refcounting for multicast groups Multiple ipoib_neigh structures on mcast->neigh_list may point to the same ah. This means that ipoib_mcast_free() can't just make a list of ah structs to free, since this might end up trying to add the same ah to the list more than once. Handle this in ipoib_multicast.c in the same way as it is handled in ipoib_main.c for struct ipoib_path. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed