提交 a224bd36 编写于 作者: J josselin.costanzi@mobile-devices.fr 提交者: David S. Miller

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: NJosselin Costanzi <josselin.costanzi@mobile-devices.fr>
Signed-off-by: NMaxime Jayat <maxime.jayat@mobile-devices.fr>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 f516e2c9
...@@ -154,6 +154,7 @@ static void lapb_t1timer_expiry(unsigned long param) ...@@ -154,6 +154,7 @@ static void lapb_t1timer_expiry(unsigned long param)
} else { } else {
lapb->n2count++; lapb->n2count++;
lapb_requeue_frames(lapb); lapb_requeue_frames(lapb);
lapb_kick(lapb);
} }
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册