projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c42b24c
)
[PATCH] aoe [5/8]: allow network interface migration on packet retransmit
author
Ed L. Cashin
<ecashin@coraid.com>
Thu, 19 Jan 2006 18:46:25 +0000
(13:46 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 24 Mar 2006 06:01:56 +0000
(22:01 -0800)
Retransmit to the current network interface for an AoE device.
Signed-off-by: "Ed L. Cashin" <ecashin@coraid.com>
drivers/block/aoe/aoecmd.c
patch
|
blob
|
history
diff --git
a/drivers/block/aoe/aoecmd.c
b/drivers/block/aoe/aoecmd.c
index 34b8c8c13f9adb167045c2b2102c9a31c70de593..22bebf87945c7aaa268614394551db5f370734b5 100644
(file)
--- 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) {