diff options
author | Russ Gorby <russ.gorby@intel.com> | 2012-08-13 16:44:59 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-16 23:03:30 +0400 |
commit | b4338e1efc339986cf6c0a3652906e914a86e2d3 (patch) | |
tree | b7cad6cedd3a74c6c9f01ed74720999d2a16637e /.mailmap | |
parent | 5e44708f75b0f8712da715d6babb0c21089b2317 (diff) | |
download | linux-b4338e1efc339986cf6c0a3652906e914a86e2d3.tar.xz |
n_gsm: avoid accessing freed memory during CMD_FCOFF condition
gsm_data_kick was recently modified to allow messages on the
tx queue bound for DLCI0 to flow even during FCOFF conditions.
Unfortunately we introduced a bug discovered by code inspection
where subsequent list traversers can access freed memory if
the DLCI0 messages were not all at the head of the list.
Replaced singly linked tx list w/ a list_head and used
provided interfaces for traversing and deleting members.
Signed-off-by: Russ Gorby <russ.gorby@intel.com>
Tested-by: Yin, Fengwei <fengwei.yin@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Riding School <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions