[IBAL] fix using of ual_get_gid_index()
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 1 Sep 2008 12:47:58 +0000 (12:47 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 1 Sep 2008 12:47:58 +0000 (12:47 +0000)
commit722aa1f2e1e261d30c2c5f1bccaa91a2791542b1
tree2cb50931c2078745e6b3002ecec6e0d77e80db41
parent00ce3a95e8a1f68f3a81b566d59c1af74ff3ef20
parent989cfbef5efa23db33c5b4c256c43e8ceeced308
[IBAL] fix using of ual_get_gid_index()

The patch fixes accessing p_user_attr field which lead to access violation, the actual field is p_pnp_attr.
It also moves port checking to the head of the function stack.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1539 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
core/al/al_av.c
core/al/user/ual_av.c