Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145192667
D4731.id11771.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
697 B
Referenced Files
None
Subscribers
None
D4731.id11771.diff
View Options
Index: netinet6/in6.c
===================================================================
--- netinet6/in6.c
+++ netinet6/in6.c
@@ -1552,7 +1552,7 @@
if (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED)
return (NULL);
- if_addr_rlock(ifp);
+ IF_ADDR_RLOCK(ifp);
TAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) {
if (ifa->ifa_addr->sa_family != AF_INET6)
continue;
@@ -1562,11 +1562,11 @@
IN6_IS_ADDR_MC_NODELOCAL(&sin6->sin6_addr))
break;
}
- if_addr_runlock(ifp);
+ IF_ADDR_RUNLOCK(ifp);
return ((struct in6_ifaddr *)ifa);
}
/*
* Convert IP6 address to printable (loggable) representation. Caller
* has to make sure that ip6buf is at least INET6_ADDRSTRLEN long.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 17, 11:13 PM (17 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28828574
Default Alt Text
D4731.id11771.diff (697 B)
Attached To
Mode
D4731: IPv6 locking: use macros and not wrapper functions inside kernel
Attached
Detach File
Event Timeline
Log In to Comment