Commit a224bd36bf5ccc72d0f12ab11216706762133177

Authored by josselin.costanzi@mobile-devices.fr
Committed by David S. Miller
1 parent f516e2c9ec

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

net/lapb/lapb_timer.c
... ... @@ -154,6 +154,7 @@
154 154 } else {
155 155 lapb->n2count++;
156 156 lapb_requeue_frames(lapb);
  157 + lapb_kick(lapb);
157 158 }
158 159 break;
159 160