summaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorjosselin.costanzi@mobile-devices.fr <josselin.costanzi@mobile-devices.fr>2013-09-18 14:00:35 +0400
committerDavid S. Miller <davem@davemloft.net>2013-09-24 00:52:45 +0400
commita224bd36bf5ccc72d0f12ab11216706762133177 (patch)
tree04f0f7ee8f7d8d590c337b06f42026aaa43fbf52 /net/lapb
parentf516e2c9ecdcc717d25fe1533805a7960310c186 (diff)
downloadlinux-a224bd36bf5ccc72d0f12ab11216706762133177.tar.xz
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@mobile-devices.fr> Signed-off-by: Maxime Jayat <maxime.jayat@mobile-devices.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb')
-rw-r--r--net/lapb/lapb_timer.c1
1 files changed, 1 insertions, 0 deletions
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;