net/lapb: re-send packets on timeout
author[email protected] <[email protected]>
Wed, 18 Sep 2013 10:00:35 +0000 (12:00 +0200)
committerDavid S. Miller <[email protected]>
Mon, 23 Sep 2013 20:52:45 +0000 (16:52 -0400)
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 <[email protected]>
Signed-off-by: Maxime Jayat <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/lapb/lapb_timer.c

index 54563ad8aeb1f02bbedd18959c8cf9cd77479942..355cc3b6fa4d3e4040bf9fb1578fc43c6c4f7b52 100644 (file)
@@ -154,6 +154,7 @@ static void lapb_t1timer_expiry(unsigned long param)
                        } else {
                                lapb->n2count++;
                                lapb_requeue_frames(lapb);
+                               lapb_kick(lapb);
                        }
                        break;