Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149540539
D27631.1790406996.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
860 B
Referenced Files
None
Subscribers
None
D27631.1790406996.diff
View Options
Index: sys/net/if_infiniband.c
===================================================================
--- sys/net/if_infiniband.c
+++ sys/net/if_infiniband.c
@@ -252,12 +252,13 @@
goto bad;
} else if (lle != NULL && (lle->la_flags & LLE_VALID)) {
memcpy(edst, lle->ll_addr, sizeof(edst));
+ } else if (ip6->ip6_nxt == IPPROTO_ICMPV6) {
+ /* XXX try to parse ND_OPT_SOURCE_LINKADDR to avoid broadcasting all traffic */
+ memcpy(edst, ifp->if_broadcastaddr, INFINIBAND_ADDR_LEN);
} else if (m->m_flags & M_MCAST) {
infiniband_ipv6_multicast_map(
&((const struct sockaddr_in6 *)dst)->sin6_addr,
ifp->if_broadcastaddr, edst);
- } else if (ip6->ip6_nxt == IPPROTO_ICMPV6) {
- memcpy(edst, ifp->if_broadcastaddr, INFINIBAND_ADDR_LEN);
} else {
error = nd6_resolve(ifp, is_gw, m, dst, edst, NULL, NULL);
if (error) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 26, 7:16 AM (4 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29926363
Default Alt Text
D27631.1790406996.diff (860 B)
Attached To
Mode
D27631: Streamline infiniband code according to ethernet code
Attached
Detach File
Event Timeline
Log In to Comment