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 308235 Details for
Bug 444473
Fake ARP dropped after migration leading to loss of network connectivity
[?]
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.
Posted patch for 4.7
netfront-notifier-fake-arp.patch (text/x-patch), 1.53 KB, created by
Don Dutile (Red Hat)
on 2008-06-03 13:56:49 UTC
(
hide
)
Description:
Posted patch for 4.7
Filename:
MIME Type:
Creator:
Don Dutile (Red Hat)
Created:
2008-06-03 13:56:49 UTC
Size:
1.53 KB
patch
obsolete
>--- linux-2.6.9/drivers/xen/netfront/netfront.c.orig 2008-04-28 11:39:45.000000000 -0400 >+++ linux-2.6.9/drivers/xen/netfront/netfront.c 2008-04-28 11:50:11.000000000 -0400 >@@ -2034,6 +2034,23 @@ inetdev_notify(struct notifier_block *th > return NOTIFY_DONE; > } > >+/* >+ * We also send a fake ARP if the link gets carrier. >+ */ >+static int >+netdev_notify(struct notifier_block *this, unsigned long event, void *ptr) >+{ >+ struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; >+ struct net_device *dev = ifa->ifa_dev->dev; >+ >+ /* Carrier up event and is it one of our devices? */ >+ if (event == NETDEV_CHANGE && netif_carrier_ok(dev) && >+ dev->open == network_open) >+ (void)send_fake_arp(dev); >+ >+ return NOTIFY_DONE; >+} >+ > > static void netif_disconnect_backend(struct netfront_info *info) > { >@@ -2098,6 +2115,10 @@ static struct notifier_block notifier_in > .priority = 0 > }; > >+static struct notifier_block notifier_netdev = { >+ .notifier_call = netdev_notify, >+}; >+ > static int __init netif_init(void) > { > if (!is_running_on_xen()) >@@ -2119,6 +2140,7 @@ static int __init netif_init(void) > IPRINTK("Initialising virtual ethernet driver.\n"); > > (void)register_inetaddr_notifier(¬ifier_inetdev); >+ (void)register_inetaddr_notifier(¬ifier_netdev); > > return xenbus_register_frontend(&netfront); > } >@@ -2132,6 +2154,7 @@ static void __exit netif_exit(void) > if (is_initial_xendomain()) > return; > >+ unregister_inetaddr_notifier(¬ifier_netdev); > unregister_inetaddr_notifier(¬ifier_inetdev); > > return xenbus_unregister_driver(&netfront);
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 Raw
Actions:
View
Attachments on
bug 444473
: 308235