diff options
author | Russ Gorby <russ.gorby@intel.com> | 2012-08-13 13:45:30 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-16 12:03:30 -0700 |
commit | 88ed2a60610974443335c924d7cb8e5dcf9dbdc1 (patch) | |
tree | 9093338b0334d53b992c956edc9c4d091ddebef3 /drivers/tty/pty.c | |
parent | 329e56780e514a7ab607bcb51a52ab0dc2669414 (diff) | |
download | op-kernel-dev-88ed2a60610974443335c924d7cb8e5dcf9dbdc1.zip op-kernel-dev-88ed2a60610974443335c924d7cb8e5dcf9dbdc1.tar.gz |
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