[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1379498435-28860-1-git-send-email-josselin.costanzi@mobile-devices.fr>
Date: Wed, 18 Sep 2013 12:00:35 +0200
From: Josselin Costanzi <josselin.costanzi@...ile-devices.fr>
To: netdev@...r.kernel.org
Cc: Josselin Costanzi <josselin.costanzi@...ile-devices.fr>,
Maxime Jayat <maxime.jayat@...ile-devices.fr>
Subject: [PATCH] net/lapb: re-send packets on timeout
Actually re-send packets when the T1 timer runs out. This fixes a bug
where packets are waiting on the write queue until disconnection when
no other traffic is outstanding.
Signed-off-by: Josselin Costanzi <josselin.costanzi@...ile-devices.fr>
Signed-off-by: Maxime Jayat <maxime.jayat@...ile-devices.fr>
---
net/lapb/lapb_timer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/lapb/lapb_timer.c b/net/lapb/lapb_timer.c
index 54563ad..355cc3b 100644
--- a/net/lapb/lapb_timer.c
+++ b/net/lapb/lapb_timer.c
@@ -154,6 +154,7 @@ static void lapb_t1timer_expiry(unsigned long param)
} else {
lapb->n2count++;
lapb_requeue_frames(lapb);
+ lapb_kick(lapb);
}
break;
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists