]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[IBAL] fix using of ual_get_gid_index()
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 1 Sep 2008 12:45:34 +0000 (12:45 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 1 Sep 2008 12:45:34 +0000 (12:45 +0000)
commitb381dc5269bcd113cae39222a259ad57ea2f30a3
tree9a8a86d20147d4304d55ce46c49a20bf33aebac7
parent9c7cc0a26f65ddbc9ec21e3d2e754eefd94ed819
[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@1538 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
branches/WOF2-0/trunk/core/al/al_av.c
branches/WOF2-0/trunk/core/al/user/ual_av.c