Project

General

Profile

Bug #5734

sync net/dhcp6 with upstream for bug fixes

Added by Brad Smith over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Start date:
01/05/2016
Due date:
% Done:

100%

Estimated time:
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",

History

#1 Updated by Chris Buechler over 3 years ago

  • Project changed from pfSense Packages to pfSense
  • Assignee set to Renato Botelho
  • Target version set to 2.3

#2 Updated by Renato Botelho over 3 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

I've imported the changes, dhcp6-20080615_5 is the version with fixes

#3 Updated by Chris Buechler over 3 years ago

  • Status changed from Feedback to Resolved

updated

#4 Updated by Chris Buechler over 3 years ago

  • Affected Version set to All

Also available in: Atom PDF