|
@@ -599,7 +599,7 @@ static int flexboot_nodnic_mcast_attach ( struct ib_device *ibdev,
|
599
|
599
|
|
600
|
600
|
switch (qp->type) {
|
601
|
601
|
case IB_QPT_ETH:
|
602
|
|
- memcpy(&mac, &gid, sizeof(mac));
|
|
602
|
+ memcpy(&mac, gid, sizeof(mac));
|
603
|
603
|
status = nodnic_port_add_mac_filter(&port->port_priv, mac);
|
604
|
604
|
MLX_CHECK_STATUS(flexboot_nodnic->device_priv, status, mac_err,
|
605
|
605
|
"nodnic_port_add_mac_filter failed");
|
|
@@ -620,7 +620,7 @@ static void flexboot_nodnic_mcast_detach ( struct ib_device *ibdev,
|
620
|
620
|
|
621
|
621
|
switch (qp->type) {
|
622
|
622
|
case IB_QPT_ETH:
|
623
|
|
- memcpy(&mac, &gid, sizeof(mac));
|
|
623
|
+ memcpy(&mac, gid, sizeof(mac));
|
624
|
624
|
status = nodnic_port_remove_mac_filter(&port->port_priv, mac);
|
625
|
625
|
MLX_CHECK_STATUS(flexboot_nodnic->device_priv, status, mac_err,
|
626
|
626
|
"nodnic_port_remove_mac_filter failed");
|