|
@@ -671,8 +671,8 @@ static void ipoib_complete_recv ( struct ib_device *ibdev __unused,
|
671
|
671
|
ethhdr->h_protocol = net_proto;
|
672
|
672
|
|
673
|
673
|
/* Construct destination address */
|
674
|
|
- if ( IB_LID_MULTICAST ( dest->lid ) ) {
|
675
|
|
- /* Multicast LID; use the Ethernet broadcast address */
|
|
674
|
+ if ( dest->gid_present && IB_GID_MULTICAST ( &dest->gid ) ) {
|
|
675
|
+ /* Multicast GID: use the Ethernet broadcast address */
|
676
|
676
|
memcpy ( ðhdr->h_dest, eth_broadcast,
|
677
|
677
|
sizeof ( ethhdr->h_dest ) );
|
678
|
678
|
} else {
|