Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147415317
D50975.id157436.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
539 B
Referenced Files
None
Subscribers
None
D50975.id157436.diff
View Options
diff --git a/sys/net/if.c b/sys/net/if.c
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -930,21 +930,6 @@
}
#endif
}
-#ifdef VIMAGE
- else {
- /*
- * Update the interface index in the link layer address
- * of the interface.
- */
- for (ifa = ifp->if_addr; ifa != NULL;
- ifa = CK_STAILQ_NEXT(ifa, ifa_link)) {
- if (ifa->ifa_addr->sa_family == AF_LINK) {
- sdl = (struct sockaddr_dl *)ifa->ifa_addr;
- sdl->sdl_index = ifp->if_index;
- }
- }
- }
-#endif
if (domain_init_status >= 2)
if_attachdomain1(ifp);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 11, 7:25 PM (8 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29547966
Default Alt Text
D50975.id157436.diff (539 B)
Attached To
Mode
D50975: ifnet: Eliminate unnecessary synchronization of the interface index in the link layer address
Attached
Detach File
Event Timeline
Log In to Comment