Project

General

Profile

Actions

Bug #5734

closed

sync net/dhcp6 with upstream for bug fixes

Added by Brad Smith almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
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 #1

Updated by Chris Buechler almost 9 years ago

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

Updated by Renato Botelho almost 9 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

Actions #3

Updated by Chris Buechler over 8 years ago

  • Status changed from Feedback to Resolved

updated

Actions #4

Updated by Chris Buechler over 8 years ago

  • Affected Version set to All
Actions

Also available in: Atom PDF