IPoIB: Make sure path is fully initialized before using it
authorMichael S. Tsirkin <mst@mellanox.co.il>
Tue, 17 Jan 2006 17:22:05 +0000 (09:22 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 17 Jan 2006 17:22:05 +0000 (09:22 -0800)
The SA path record query completion can initialize path->pathrec.dlid
before IPoIB's callback runs and initializes path->ah, so we must test
ah rather than dlid.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found