Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144638379
D28129.1775953930.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
511 B
Referenced Files
None
Subscribers
None
D28129.1775953930.diff
View Options
diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c
--- a/sys/netinet6/in6_ifattach.c
+++ b/sys/netinet6/in6_ifattach.c
@@ -520,8 +520,11 @@
* valid with referring to the old link-local address.
*/
if ((pr = nd6_prefix_lookup(&pr0)) == NULL) {
- if ((error = nd6_prelist_add(&pr0, NULL, NULL)) != 0)
+ if ((error = nd6_prelist_add(&pr0, NULL, &pr)) != 0)
return (error);
+ /* Reference prefix */
+ ia->ia6_ndpr = pr;
+ pr->ndpr_addrcnt++;
} else
nd6_prefix_rele(pr);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 12, 12:32 AM (20 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28327350
Default Alt Text
D28129.1775953930.diff (511 B)
Attached To
Mode
D28129: Map IPv6 link-local prefix to the link-local ifa.
Attached
Detach File
Event Timeline
Log In to Comment