diff options
author | ecashin@coraid.com <ecashin@coraid.com> | 2005-04-18 22:00:22 -0700 |
---|---|---|
committer | Greg KH <greg@press.kroah.org> | 2005-04-18 22:00:22 -0700 |
commit | a4b38364093bf2094ff858ad45f490521bb87984 (patch) | |
tree | 474c8d5acc153eb1736c9a76be0973a32e5995f8 /drivers/block/aoe/aoeblk.c | |
parent | 0c6f0e7920f39b28bdbe5f134f3e592542332d87 (diff) | |
download | kernel_samsung_smdk4412-a4b38364093bf2094ff858ad45f490521bb87984.zip kernel_samsung_smdk4412-a4b38364093bf2094ff858ad45f490521bb87984.tar.gz kernel_samsung_smdk4412-a4b38364093bf2094ff858ad45f490521bb87984.tar.bz2 |
[PATCH] aoe 12/12: send outgoing packets in order
I can't use list.h, since sk_buff doesn't have a list_head but instead
has two struct sk_buff pointers, and I want to avoid any extra memory
allocation.
send outgoing packets in order
Signed-off-by: Ed L. Cashin <ecashin@coraid.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block/aoe/aoeblk.c')
-rw-r--r-- | drivers/block/aoe/aoeblk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/aoe/aoeblk.c b/drivers/block/aoe/aoeblk.c index a2735d9..4780f79 100644 --- a/drivers/block/aoe/aoeblk.c +++ b/drivers/block/aoe/aoeblk.c @@ -147,8 +147,8 @@ aoeblk_make_request(request_queue_t *q, struct bio *bio) list_add_tail(&buf->bufs, &d->bufq); aoecmd_work(d); - sl = d->skblist; - d->skblist = NULL; + sl = d->sendq_hd; + d->sendq_hd = d->sendq_tl = NULL; spin_unlock_irqrestore(&d->lock, flags); |