summaryrefslogtreecommitdiffstats
path: root/drivers/tty/pty.c
diff options
context:
space:
mode:
authorRuss Gorby <russ.gorby@intel.com>2012-08-13 14:45:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-16 21:03:30 +0200
commit88ed2a60610974443335c924d7cb8e5dcf9dbdc1 (patch)
tree9093338b0334d53b992c956edc9c4d091ddebef3 /drivers/tty/pty.c
parentn_gsm: replace kfree_skb w/ appropriate dev_* versions (diff)
downloadlinux-88ed2a60610974443335c924d7cb8e5dcf9dbdc1.tar.xz
linux-88ed2a60610974443335c924d7cb8e5dcf9dbdc1.zip
n_gsm: memory leak in uplink error path
Uplink (TX) network data will go through gsm_dlci_data_output_framed there is a bug where if memory allocation fails, the skb which has already been pulled off the list will be lost. In addition TX skbs were being processed in LIFO order Fixed the memory leak, and changed to FIFO order processing 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> Cc: Showjumping <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/pty.c')
0 files changed, 0 insertions, 0 deletions