[IBAL] Fix receiving MADs with GRH in user-mode, where GRH
[mirror/winof/.git] / 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