From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Laszlo Ersek <lersek@redhat.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] xen-netfront: delay gARP until backend switches to Connected
Date: Tue, 12 Jul 2011 14:19:12 -0400 [thread overview]
Message-ID: <20110712181912.GA32232@dumpdata.com> (raw)
In-Reply-To: <1310394144-8977-1-git-send-email-lersek@redhat.com>
> migration. The patch is for xen/next-2.6.32. I also tested a Fedora-15 guest
> (without the patch), and the backport to the host side alone was not sufficient
> there either.
I am having a hard time parsing that. It sounds like this patch is also
neccessary for upstream kernel? Or do you have another one for the upstream
kernel that you are going to submit soon?
(If so, please CC David Miller on it).
>
> Thanks for the help and for considering this one.
>
> Signed-off-by: Laszlo Ersek <lersek@redhat.com>
> ---
> drivers/net/xen-netfront.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c
> index 3f71199..214c3a4 100644
> --- a/drivers/net/xen-netfront.c
> +++ b/drivers/net/xen-netfront.c
> @@ -1732,7 +1732,6 @@ static void netback_changed(struct xenbus_device *dev,
> case XenbusStateInitialised:
> case XenbusStateReconfiguring:
> case XenbusStateReconfigured:
> - case XenbusStateConnected:
> case XenbusStateUnknown:
> case XenbusStateClosed:
> break;
> @@ -1743,6 +1742,9 @@ static void netback_changed(struct xenbus_device *dev,
> if (xennet_connect(netdev) != 0)
> break;
> xenbus_switch_state(dev, XenbusStateConnected);
> + break;
> +
> + case XenbusStateConnected:
> netif_notify_peers(netdev);
> break;
>
> --
> 1.7.4.4
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2011-07-12 18:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-28 13:01 lost gARP after live migration Laszlo Ersek
2011-06-28 13:03 ` Paolo Bonzini
2011-06-28 13:33 ` Ian Campbell
2011-07-11 14:22 ` [PATCH] xen-netfront: delay gARP until backend switches to Connected Laszlo Ersek
2011-07-12 18:19 ` Konrad Rzeszutek Wilk [this message]
2011-07-13 11:44 ` [PATCH v2] " Laszlo Ersek
2011-07-13 13:29 ` Konrad Rzeszutek Wilk
2011-07-13 16:11 ` [PATCH v3] " Laszlo Ersek
2011-07-14 7:44 ` Ian Campbell
2011-06-28 14:14 ` lost gARP after live migration Ben Hutchings
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110712181912.GA32232@dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=lersek@redhat.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.