OSDN Git Service

net/lapb: fix t1 timer handling for LAPB_STATE_0
authorMartin Schiller <ms@dev.tdt.de>
Thu, 26 Nov 2020 06:35:55 +0000 (07:35 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 28 Nov 2020 01:22:51 +0000 (17:22 -0800)
commit62480b992ba3fb1d7260b11293aed9d6557831c7
tree53496c6f13ad1feeacf0d2b36589bc1fc771c43c
parenta4989fa91110508b64eea7ccde63d062113988ff
net/lapb: fix t1 timer handling for LAPB_STATE_0

1. DTE interface changes immediately to LAPB_STATE_1 and start sending
   SABM(E).

2. DCE interface sends N2-times DM and changes to LAPB_STATE_1
   afterwards if there is no response in the meantime.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/lapb/lapb_timer.c