Skip to content

Commit

Permalink
net/lapb: re-send packets on timeout
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
[email protected] authored and davem330 committed Sep 23, 2013
1 parent f516e2c commit a224bd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/lapb/lapb_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ static void lapb_t1timer_expiry(unsigned long param)
} else {
lapb->n2count++;
lapb_requeue_frames(lapb);
lapb_kick(lapb);
}
break;

Expand Down

0 comments on commit a224bd3

Please sign in to comment.