From: Jody McIntyre Date: Tue, 17 May 2005 04:54:05 +0000 (-0700) Subject: [PATCH] ieee1394: fix premature expiry of async packets X-Git-Tag: v2.6.12-rc5~110 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=6262d062a3fc803d1798365e745b39f4faa04b0e;p=~shefty%2Frdma-dev.git [PATCH] ieee1394: fix premature expiry of async packets Set the initial sendtime to be 10 seconds in the future, to avoid the packet timing out while it's still queued to be sent. This fixes furthur "no tlabel match" problems caused by premature expiry. Signed-off-by: Jody McIntyre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/ieee1394/ieee1394_core.c b/drivers/ieee1394/ieee1394_core.c index 62764c39462..a294e45c77c 100644 --- a/drivers/ieee1394/ieee1394_core.c +++ b/drivers/ieee1394/ieee1394_core.c @@ -520,7 +520,7 @@ int hpsb_send_packet(struct hpsb_packet *packet) if (!packet->no_waiter || packet->expect_response) { atomic_inc(&packet->refcnt); - packet->sendtime = jiffies; + packet->sendtime = jiffies + 10 * HZ; skb_queue_tail(&host->pending_packet_queue, packet->skb); }