[IBAL] Fix receiving MADs with GRH in user-mode, where GRH
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 3 Apr 2006 18:06:38 +0000 (18:06 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 3 Apr 2006 18:06:38 +0000 (18:06 +0000)
overlapped MAD buffer.

Submitted by: Yossi Leybovich (sleybo@mellanox.co.il)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@274 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/user/al_mad_pool.c

index 8182593..231f427 100644 (file)
@@ -854,7 +854,7 @@ __setup_mad_element(
 \r
        /* Initialize grh */\r
        p_al_mad_element->element.p_grh =\r
-               (ib_grh_t*)(uintn_t)p_al_mad_element->mad_ds.vaddr;\r
+               (ib_grh_t*)(uintn_t)p_al_mad_element->grh_ds.vaddr;\r
 }\r
 \r
 \r