Page MenuHomeFreeBSD

D28129.1775953930.diff
No OneTemporary

Size
511 B
Referenced Files
None
Subscribers
None

D28129.1775953930.diff

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

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)

Event Timeline