This is a note to let you know that I've just added the patch titled
staging: hv: Enable sending GARP packet after live migration
to the 2.6.37-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
staging-hv-enable-sending-garp-packet-after-live-migration.patch
and it can be found in the queue-2.6.37 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 7c161d0b900ea9bd9fc5ea5d3fa9916e9eb0dd88 Mon Sep 17 00:00:00 2001
From: Haiyang Zhang <[email protected]>
Date: Wed, 2 Feb 2011 13:42:58 -0800
Subject: staging: hv: Enable sending GARP packet after live migration
From: Haiyang Zhang <[email protected]>
commit 7c161d0b900ea9bd9fc5ea5d3fa9916e9eb0dd88 upstream.
The hv_netvsc gets RNDIS_STATUS_MEDIA_CONNECT event after the VM
is live migrated. Adding call to netif_notify_peers() for this event
to send GARP (Gratuitous ARP) to notify network peers. Otherwise,
the VM's network connection may stop after a live migration.
This patch should also be applied to stable kernel 2.6.32 and later.
Signed-off-by: Haiyang Zhang <[email protected]>
Signed-off-by: Hank Janssen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/staging/hv/netvsc_drv.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/staging/hv/netvsc_drv.c
+++ b/drivers/staging/hv/netvsc_drv.c
@@ -233,6 +233,7 @@ static void netvsc_linkstatus_callback(s
if (status == 1) {
netif_carrier_on(net);
netif_wake_queue(net);
+ netif_notify_peers(net);
} else {
netif_carrier_off(net);
netif_stop_queue(net);
Patches currently in stable-queue which might be from [email protected] are
queue-2.6.37/staging-hv-removed-unneeded-call-to-netif_stop_queue-in-hv_netvsc.patch
queue-2.6.37/staging-hv-enable-sending-garp-packet-after-live-migration.patch
queue-2.6.37/staging-hv-fix-netvsc-sleeping-while-atomic.patch
queue-2.6.37/staging-hv-fix-sysfs-symlink-on-hv-block-device.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable