Skip to content

Commit

Permalink
[PATCH] aoe [5/8]: allow network interface migration on packet retran…
Browse files Browse the repository at this point in the history
…smit

Retransmit to the current network interface for an AoE device.

Signed-off-by: "Ed L. Cashin" <ecashin@coraid.com>
  • Loading branch information
Ed L. Cashin authored and Greg Kroah-Hartman committed Mar 24, 2006
1 parent c42b24c commit 2dd5e42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/block/aoe/aoecmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2dd5e42

Please sign in to comment.