Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107494320
D30166.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
562 B
Referenced Files
None
Subscribers
None
D30166.diff
View Options
diff --git a/sys/netinet6/nd6_rtr.c b/sys/netinet6/nd6_rtr.c
--- a/sys/netinet6/nd6_rtr.c
+++ b/sys/netinet6/nd6_rtr.c
@@ -2165,7 +2165,6 @@
int error = 0;
struct ifnet *ifp = pr->ndpr_ifp;
struct nd_prefix *opr;
- struct sockaddr_in6 sa6;
char ip6buf[INET6_ADDRSTRLEN];
uint64_t genid;
int a_failure;
@@ -2240,7 +2239,8 @@
}
if (a_failure)
- lltable_prefix_free(AF_INET6, (struct sockaddr *)&sa6,
+ lltable_prefix_free(AF_INET6,
+ (struct sockaddr *)&pr->ndpr_prefix,
(struct sockaddr *)&mask6, LLE_STATIC);
return (error);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 16, 12:01 AM (17 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15817613
Default Alt Text
D30166.diff (562 B)
Attached To
Mode
D30166: nd6: Avoid using an uninitialized sockaddr in nd6_prefix_offlink()
Attached
Detach File
Event Timeline
Log In to Comment