Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

josselin.costanzi@mobile-devices.fr and committed by
David S. Miller
a224bd36 f516e2c9

+1
+1
net/lapb/lapb_timer.c
··· 154 154 } else { 155 155 lapb->n2count++; 156 156 lapb_requeue_frames(lapb); 157 + lapb_kick(lapb); 157 158 } 158 159 break; 159 160