diff options
author | josselin.costanzi@mobile-devices.fr <josselin.costanzi@mobile-devices.fr> | 2013-09-18 12:00:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-23 16:52:45 -0400 |
commit | a224bd36bf5ccc72d0f12ab11216706762133177 (patch) | |
tree | 04f0f7ee8f7d8d590c337b06f42026aaa43fbf52 /net/lapb | |
parent | f516e2c9ecdcc717d25fe1533805a7960310c186 (diff) | |
download | lwn-a224bd36bf5ccc72d0f12ab11216706762133177.tar.gz lwn-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')
-rw-r--r-- | 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 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; |