summaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorjosselin.costanzi@mobile-devices.fr <josselin.costanzi@mobile-devices.fr>2013-09-18 12:00:35 +0200
committerDavid S. Miller <davem@davemloft.net>2013-09-23 22:52:45 +0200
commita224bd36bf5ccc72d0f12ab11216706762133177 (patch)
tree04f0f7ee8f7d8d590c337b06f42026aaa43fbf52 /net/lapb/lapb_timer.c
parentMerge branch 'bnx2x' (diff)
downloadlinux-a224bd36bf5ccc72d0f12ab11216706762133177.tar.xz
linux-a224bd36bf5ccc72d0f12ab11216706762133177.zip
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/lapb_timer.c')
-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;