From: Roland Dreier Date: Tue, 12 Dec 2006 22:48:18 +0000 (-0800) Subject: IPoIB: Make sure struct ipoib_neigh.queue is always initialized X-Git-Tag: v2.6.20-rc1~143^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82b399133b6ebf667ee635fc69ef26b61eede4bc;p=pandora-kernel.git IPoIB: Make sure struct ipoib_neigh.queue is always initialized Move the initialization of ipoib_neigh's skb_queue into ipoib_neigh_alloc(), since commit 2745b5b7 ("IPoIB: Fix skb leak when freeing neighbour") will make iterate over the skb_queue to free any packets left over when freeing the ipoib_neigh structure. This fixes a crash when freeing ipoib_neigh structures allocated in ipoib_mcast_send(), which otherwise don't have their skb_queue initialized. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed