]> git.karo-electronics.de Git - karo-tx-linux.git/commit
n_gsm: uplink SKBs accumulate on list
authorRuss Gorby <russ.gorby@intel.com>
Mon, 13 Aug 2012 12:43:36 +0000 (13:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Oct 2012 15:32:27 +0000 (08:32 -0700)
commitb0a3c588df225ee719bd82ab303d02f7cc0d5805
tree023e3bb1f945703a14621ebe67faba682189599c
parent3e6ef23fbf8c22163602cd52729de2fe370fba8f
n_gsm: uplink SKBs accumulate on list

commit 192b6041e75bb4a2aae73834037038cea139a92d upstream.

gsm_dlci_data_kick will not call any output function if tx_bytes > THRESH_LO
furthermore it will call the output function only once if tx_bytes == 0
If the size of the IP writes are on the order of THRESH_LO
we can get into a situation where skbs accumulate on the outbound list
being starved for events to call the output function.

gsm_dlci_data_kick now calls the sweep function when tx_bytes==0

Signed-off-by: Russ Gorby <russ.gorby@intel.com>
Tested-by: Kappel, LaurentX <laurentx.kappel@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_gsm.c