[lkml]   [2011]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[044/272] staging: hv: Enable sending GARP packet after live migration
    2.6.37-stable review patch.  If anyone has any objections, please let us know.


    From: Haiyang Zhang <>

    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 <>
    Signed-off-by: Hank Janssen <>
    Signed-off-by: Greg Kroah-Hartman <>

    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_notify_peers(net);
    } else {

     \ /
      Last update: 2011-02-16 02:49    [W:0.020 / U:4.152 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site