From: Jack Morgenstein Date: Tue, 20 May 2008 22:41:09 +0000 (-0700) Subject: IPoIB: Test for NULL broadcast object in ipiob_mcast_join_finish() X-Git-Tag: v2.6.26-rc4~58^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1d50dce5af77cb6d33555af70e2b8748dd84009;p=pandora-kernel.git IPoIB: Test for NULL broadcast object in ipiob_mcast_join_finish() We saw a kernel oops in our regression testing when a multicast "join finish" occurred just after the interface was -- this is . The test randomly causes the HCA physical port to go down then up. The cause of this is that ipoib_mcast_join_finish() processing happen just after ipoib_mcast_dev_flush() was invoked (in which case the broadcast pointer is NULL). This patch tests for and handles the case where priv->broadcast is NULL. Cc: Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier --- Reading git-diff-tree failed