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 684367 Details for
Bug 902397
Corosync doesn't work with IPv6
[?]
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]
Proposed patch
2013-01-21-0001-totemip-Properly-detect-ipv6-address.patch (text/plain), 1.12 KB, created by
Jan Friesse
on 2013-01-21 15:06:28 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Jan Friesse
Created:
2013-01-21 15:06:28 UTC
Size:
1.12 KB
patch
obsolete
>From f67d198f754a5fa6dcaf920f7b3f1d28a58d4352 Mon Sep 17 00:00:00 2001 >From: Jan Friesse <jfriesse@redhat.com> >Date: Mon, 21 Jan 2013 16:02:56 +0100 >Subject: [PATCH] totemip: Properly detect ipv6 address > >Commit a853b618 introduced regression in finding IPv6 address. For IPv6, >IFA_ADDRESS must be checked, instead of IFA_LOCAL, because IFA_LOCAL is >returned empty. > >Signed-off-by: Jan Friesse <jfriesse@redhat.com> >--- > exec/totemip.c | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) > >diff --git a/exec/totemip.c b/exec/totemip.c >index 155fb81..cc10344 100644 >--- a/exec/totemip.c >+++ b/exec/totemip.c >@@ -598,6 +598,13 @@ int totemip_iface_check(struct totem_ip_address *bindnet, > > parse_rtattr(tb, IFA_MAX, IFA_RTA(ifa), len); > >+ if (ifa->ifa_family == AF_INET6 && tb[IFA_ADDRESS]) { >+ memcpy(ipaddr.addr, RTA_DATA(tb[IFA_ADDRESS]), TOTEMIP_ADDRLEN); >+ if (totemip_equal(&ipaddr, bindnet)) { >+ found_if = 1; >+ exact_match_found = 1; >+ } >+ } > if (tb[IFA_LOCAL]) { > memcpy(ipaddr.addr, RTA_DATA(tb[IFA_LOCAL]), TOTEMIP_ADDRLEN); > if (totemip_equal(&ipaddr, bindnet)) { >-- >1.7.1 >
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 902397
: 684367