From: josselin.costanzi@mobile-devices.fr Date: Wed, 18 Sep 2013 10:00:35 +0000 (+0200) Subject: net/lapb: re-send packets on timeout X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a224bd36bf5ccc72d0f12ab11216706762133177;p=deliverable%2Flinux.git 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 Signed-off-by: Maxime Jayat Signed-off-by: David S. Miller --- diff --git a/net/lapb/lapb_timer.c b/net/lapb/lapb_timer.c index 54563ad8aeb1..355cc3b6fa4d 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;