OpenSM: trivial fix for segfault on invalid port info
A previous patch adding explicit set remote port state DOWN in case the
local one is recycled was not safe. In the case of irresponsive remote
port, it would actually try and traverse a null pointer of the port info.
This simple fix is just a little more careful about it.
p_rem_port was also renamed to p_rem_physp as the pointer actually
points to a physical port...
Signed-off-by: Eitan Zahavi <eitan@mellanox.co.il>
git-svn-id: svn://openib.tc.cornell.edu/gen1@279
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86