Actions
Bug #5734
closedsync net/dhcp6 with upstream for bug fixes
Start date:
01/05/2016
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
Description
Sync up these bug fixes from the upstream FreeBSD net/dhcp6 port for the WIDE DHCPv6 client..
http://article.gmane.org/gmane.os.freebsd.devel.cvs.ports/360377
Add patches to fix the following bugs:
- Fix renewal of IA_NA [*]
- Update ifid on interface restart, it may have changed [*]
Obtained from: Debian/Ubuntu/Fedora/Red Hat packages via OpenBSD [*]
Suggested by: Brad Smith [*]
https://svnweb.freebsd.org/ports/head/net/dhcp6/files/patch-addrconf.c?revision=405271&view=co
https://svnweb.freebsd.org/ports/head/net/dhcp6/files/patch-dhcp6c.c?revision=405216&view=co
for the later commit its this chunk...
@ -763,6 +770,15
@ client6_ifctl(ifname, command)
switch(command) {
case DHCP6CTL_COMMAND_START:
+ /*
+ * The ifid might have changed, so reset it before releasing the
+ * lease.
+ */
+ if (ifreset(ifp)) {
+ dprintf(LOG_NOTICE, FNAME, "failed to reset %s",
+ ifname);
+ return (-1);
+ }
free_resources(ifp);
if (client6_start(ifp)) {
dprintf(LOG_NOTICE, FNAME, "failed to restart %s",
Actions