lkml.org 
[lkml]   [2010]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[46/54] xen: netfront: explicitly generate arp_notify event after migration.
    2.6.34-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Ian Campbell <Ian.Campbell@citrix.com>

    commit 592970675c9522bde588b945388c7995c8b51328 upstream.

    Use newly introduced netif_notify_peers() method to ensure a gratuitous ARP is
    generated after a migration.

    Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
    Cc: Stephen Hemminger <shemminger@linux-foundation.org>
    Cc: Jeremy Fitzhardinge <jeremy@goop.org>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: netdev@vger.kernel.org
    Cc: xen-devel@lists.xensource.com
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/net/xen-netfront.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/drivers/net/xen-netfront.c
    +++ b/drivers/net/xen-netfront.c
    @@ -1621,6 +1621,7 @@ static void backend_changed(struct xenbu
    if (xennet_connect(netdev) != 0)
    break;
    xenbus_switch_state(dev, XenbusStateConnected);
    + netif_notify_peers(netdev);
    break;

    case XenbusStateClosing:



    \
     
     \ /
      Last update: 2010-08-12 02:25    [W:0.028 / U:0.060 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site