Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 881113 Details for
Bug 1082041
IPv6: connectivity broken, router advertisements with preferred_lft == zero are ignored, network stack uses deprecated address for outgoing connection
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch v1
rh1082041.patch (text/plain), 1.52 KB, created by
Kai Engert (:kaie) (inactive account)
on 2014-03-31 21:57:33 UTC
(
hide
)
Description:
patch v1
Filename:
MIME Type:
Creator:
Kai Engert (:kaie) (inactive account)
Created:
2014-03-31 21:57:33 UTC
Size:
1.52 KB
patch
obsolete
>--- src/platform/nm-platform.c.org 2014-03-31 23:53:42.924754719 +0200 >+++ src/platform/nm-platform.c 2014-03-31 23:53:42.931754745 +0200 >@@ -1397,40 +1397,43 @@ nm_platform_ip6_address_sync (int ifinde > nm_platform_ip6_address_delete (ifindex, address->address, address->plen); > } > g_array_free (addresses, TRUE); > > if (!known_addresses) > return TRUE; > > /* Add missing addresses */ > for (i = 0; i < known_addresses->len; i++) { > const NMPlatformIP6Address *known_address = &g_array_index (known_addresses, NMPlatformIP6Address, i); > guint32 lifetime, preferred; > > if (known_address->lifetime) { > /* Pad the timestamp by 5 seconds to avoid potential races. */ > guint32 shift = subtract_guint32 (now, known_address->timestamp + 5); > > lifetime = subtract_guint32 (known_address->lifetime, shift); > preferred = subtract_guint32 (known_address->lifetime, shift); > } else > lifetime = preferred = NM_PLATFORM_LIFETIME_PERMANENT; >+ >+ if (known_address->preferred == 0) >+ preferred = 0; > > if (!nm_platform_ip6_address_add (ifindex, known_address->address, > known_address->peer_address, known_address->plen, > lifetime, preferred, known_address->flags)) > return FALSE; > } > > return TRUE; > } > > gboolean > nm_platform_address_flush (int ifindex) > { > return nm_platform_ip4_address_sync (ifindex, NULL) > && nm_platform_ip6_address_sync (ifindex, NULL); > } > > /******************************************************************/ > > GArray *
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1082041
: 881113