staging: hv: Enable sending GARP packet after live migration
commit7c161d0b900ea9bd9fc5ea5d3fa9916e9eb0dd88
authorHaiyang Zhang <haiyangz@microsoft.com>
Wed, 2 Feb 2011 21:42:58 +0000 (2 13:42 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Feb 2011 23:06:14 +0000 (2 15:06 -0800)
tree3e724101e62a62195fd34eef7d74e9a31d5ca117
parentebf53826e105f488f4f628703a108e98940d1dc5
staging: hv: Enable sending GARP packet after live migration

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 <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/netvsc_drv.c