Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153103725
D2253.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
482 B
Referenced Files
None
Subscribers
None
D2253.diff
View Options
Index: head/sys/netinet6/nd6.c
===================================================================
--- head/sys/netinet6/nd6.c
+++ head/sys/netinet6/nd6.c
@@ -765,11 +765,10 @@
* address with the prefix.
*/
if (!IFA6_IS_DEPRECATED(it6))
- public_ifa6 = it6;
-
- if (public_ifa6 != NULL)
- ifa_ref(&public_ifa6->ia_ifa);
+ public_ifa6 = it6;
}
+ if (public_ifa6 != NULL)
+ ifa_ref(&public_ifa6->ia_ifa);
IF_ADDR_RUNLOCK(ifp);
if (public_ifa6 != NULL) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 20, 4:19 AM (18 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31819707
Default Alt Text
D2253.diff (482 B)
Attached To
Mode
D2253: Fix a possible refcount leak in regen_tmpaddr().
Attached
Detach File
Event Timeline
Log In to Comment