Bug 196095
Summary: | Ucarp does not update arp cache if your master comes up after losing link. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tautvydas Bruzas <vitiho> | ||||||
Component: | ucarp | Assignee: | Matthias Saou <matthias> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 5 | CC: | extras-qa | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-06-30 13:17:50 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Tautvydas Bruzas
2006-06-20 22:52:43 UTC
Created attachment 131233 [details]
Patch for ucarp, which detects a link state and sends out gratuitous arp packet when master regains link state.
Interesting. Have you also submitted the patch upstream? I would really prefer not having specific fixes in the Fedora packages only, so the ideal would be to either have a new release with the fix available, or if that's not planned anytime soon, I could include the approved patch anyway. Yes I did, didn't get any answer yet (I submitted it two weeks ago). I checked authors page, and looks like in version 1.3 (it's still in snapshots), path is included. Indeed, it seems to be included in the 1.3 snapshot. But extracting the code from it, I get a slightly different diff. See attached patch (with #ifdefs for SIOCGIFFLAGS) and tell me if it seems fine to you, then I'll include it. Created attachment 131287 [details]
Patch from 1.3 snapshot
(In reply to comment #5) > Indeed, it seems to be included in the 1.3 snapshot. But extracting the code > from it, I get a slightly different diff. See attached patch (with #ifdefs for > SIOCGIFFLAGS) and tell me if it seems fine to you, then I'll include it. Yep, I noticed a difference, patch looks good. Author added checking for interface name (it won't cause buffer overflow in my patch as well as we both using strncpy, but it won't give an error in my case), and added checking for SIOCGIFFLAGS if they are defined on the system (because of that he moved portion of code there interface looses link state). I've updated the Extras development package with this patch included. Please let me know how it goes, and I'll backport it to Extras 5 if all is fine. Also, don't hesitate to ping me when 1.3 final gets released so that I can update the package. I've just triggered a rebuild of the 1.2 + fix package for FC-5. |