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-Tag: accepted/tizen/common/20141203.182822~1360^2~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a224bd36bf5ccc72d0f12ab11216706762133177;p=platform%2Fkernel%2Flinux-arm64.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 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;