public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: linux-kernel@vger.kernel.org
Cc: "Ed L. Cashin" <ecashin@coraid.com>, "Ed L. Cashin" <ecashin@coraid.com>
Subject: [PATCH 05/12] aoe [5/8]: allow network interface migration on packet retransmit
Date: Thu, 23 Mar 2006 22:10:53 -0800	[thread overview]
Message-ID: <11431806531102-git-send-email-gregkh@suse.de> (raw)
In-Reply-To: <11431806533029-git-send-email-gregkh@suse.de>

Retransmit to the current network interface for an AoE device.

Signed-off-by: "Ed L. Cashin" <ecashin@coraid.com>

---

 drivers/block/aoe/aoecmd.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

2dd5e42269b6f71db8ca519e401ef1e6615b3705
diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c
index 34b8c8c..22bebf8 100644
--- a/drivers/block/aoe/aoecmd.c
+++ b/drivers/block/aoe/aoecmd.c
@@ -286,6 +286,8 @@ rexmit(struct aoedev *d, struct frame *f
 	h = (struct aoe_hdr *) f->data;
 	f->tag = n;
 	h->tag = cpu_to_be32(n);
+	memcpy(h->dst, d->addr, sizeof h->dst);
+	memcpy(h->src, d->ifp->dev_addr, sizeof h->src);
 
 	skb = skb_prepare(d, f);
 	if (skb) {
-- 
1.2.4



  reply	other threads:[~2006-03-24  6:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-24  6:09 [GIT PATCH] AOE patches for 2.6.16 Greg KH
2006-03-24  6:10 ` [PATCH 01/12] aoe [1/8]: zero packet data after skb allocation Greg KH
2006-03-24  6:10   ` [PATCH 02/12] aoe [2/8]: support dynamic resizing of AoE devices Greg KH
2006-03-24  6:10     ` [PATCH 03/12] aoe [3/8]: increase allowed outstanding packets Greg KH
2006-03-24  6:10       ` [PATCH 04/12] aoe [4/8]: use less confusing driver name Greg KH
2006-03-24  6:10         ` Greg KH [this message]
2006-03-24  6:10           ` [PATCH 06/12] aoe [6/8]: update device information on last close Greg KH
2006-03-24  6:10             ` [PATCH 07/12] aoe [7/8]: update driver compatibility string Greg KH
2006-03-24  6:10               ` [PATCH 08/12] aoe [8/8]: update driver version number Greg KH
2006-03-24  6:10                 ` [PATCH 09/12] aoe: do not stop retransmit timer when device goes down Greg KH
2006-03-24  6:10                   ` [PATCH 10/12] aoe [1/3]: support multiple AoE listeners Greg KH
2006-03-24  6:10                     ` [PATCH 11/12] aoe [2/3]: don't request ATA device ID on ATA error Greg KH
2006-03-24  6:10                       ` [PATCH 12/12] aoe [3/3]: update version to 22 Greg KH

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=11431806531102-git-send-email-gregkh@suse.de \
    --to=gregkh@suse.de \
    --cc=ecashin@coraid.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox