浏览代码

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>
josselin.costanzi@mobile-devices.fr 12 年之前
父节点
当前提交
a224bd36bf
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      net/lapb/lapb_timer.c

+ 1 - 0
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;