Page MenuHomeFreeBSD

D30166.diff
No OneTemporary

D30166.diff

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

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)

Event Timeline