diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2008-05-24 17:40:21 +0000 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2008-06-09 11:27:02 -0700 |
commit | fdeb373e553c6feedfba6ffd005f837b5fef3622 (patch) | |
tree | 072060508a679171b065f5bcbbe6ea2de1e63f8d /arch | |
parent | 687b21a34349aea5f9cf9bab07e7a981500d8a67 (diff) |
IPoIB: Test for NULL broadcast object in ipiob_mcast_join_finish()
upstream commit: e1d50dce5af77cb6d33555af70e2b8748dd84009
We saw a kernel oops in our regression testing when a multicast "join
finish" occurred just after the interface was -- this is
<https://bugs.openfabrics.org/show_bug.cgi?id=1040>. 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: <stable@kernel.org>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions