xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [09/38] xen: netfront: explicitly generate arp_notify event after migration.
       [not found] <20100806183250.GA23019@kroah.com>
@ 2010-08-06 18:30 ` Greg KH
  2010-08-10 13:07   ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2010-08-06 18:30 UTC (permalink / raw)
  To: linux-kernel, stable
  Cc: Jeremy Fitzhardinge, xen-devel, Ian Campbell, torvalds,
	David S. Miller, netdev, akpm, Stephen Hemminger, stable-review,
	alan

2.6.35-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:

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [09/38] xen: netfront: explicitly generate arp_notify event after migration.
  2010-08-06 18:30 ` [09/38] xen: netfront: explicitly generate arp_notify event after migration Greg KH
@ 2010-08-10 13:07   ` Ian Campbell
  2010-08-11 19:43     ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2010-08-10 13:07 UTC (permalink / raw)
  To: Greg KH
  Cc: Jeremy Fitzhardinge, xen-devel@lists.xensource.com,
	David S. Miller, Stephen Hemminger, linux-kernel@vger.kernel.org,
	stable@kernel.org, netdev@vger.kernel.org,
	akpm@linux-foundation.org, torvalds@linux-foundation.org,
	stable-review@kernel.org, alan@lxorguk.ukuu.org.uk

Hi Greg,

Looks like I forgot to request this for 2.6.32 too, could you queue it
up there as well?

It depends on the previous patch in this series (arp_notify: allow
drivers to explicitly request a notification event.).

Thanks,
Ian.

On Fri, 2010-08-06 at 19:30 +0100, Greg KH wrote:
> 2.6.35-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:
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [09/38] xen: netfront: explicitly generate arp_notify event after migration.
  2010-08-10 13:07   ` Ian Campbell
@ 2010-08-11 19:43     ` Greg KH
  0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2010-08-11 19:43 UTC (permalink / raw)
  To: Ian Campbell
  Cc: Greg KH, linux-kernel@vger.kernel.org, stable@kernel.org,
	stable-review@kernel.org, torvalds@linux-foundation.org,
	akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk,
	Stephen Hemminger, Jeremy Fitzhardinge, David S. Miller,
	netdev@vger.kernel.org, xen-devel@lists.xensource.com

On Tue, Aug 10, 2010 at 02:07:27PM +0100, Ian Campbell wrote:
> Hi Greg,
> 
> Looks like I forgot to request this for 2.6.32 too, could you queue it
> up there as well?
> 
> It depends on the previous patch in this series (arp_notify: allow
> drivers to explicitly request a notification event.).

Now queued up for .32 and .34-stable kernels.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-11 19:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20100806183250.GA23019@kroah.com>
2010-08-06 18:30 ` [09/38] xen: netfront: explicitly generate arp_notify event after migration Greg KH
2010-08-10 13:07   ` Ian Campbell
2010-08-11 19:43     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).