[IBAL] Fix receiving MADs with GRH in user-mode, where GRH
[mirror/winof/.git] / core / al / user / al_mad_pool.c
index 59e313e..231f427 100644 (file)
@@ -27,7 +27,7 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r
  * SOFTWARE.\r
  *\r
- * $Id:$\r
+ * $Id$\r
  */\r
 \r
 \r
@@ -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