lkml.org 
[lkml]   [2007]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 08/20] ACPICA: Fixed possible corruption of global GPE list

    -stable review patch. If anyone has any objections, please let us know.

    ------------------
    From: Bob Moore <robert.moore@intel.com>

    ACPICA: Fixed possible corruption of global GPE list

    Fixed a problem in acpi_ev_delete_gpe_xrupt where the global interrupt
    list could be corrupted if the interrupt being removed was at
    the head of the list. Reported by Linn Crosetto.

    Signed-off-by: Bob Moore <robert.moore@intel.com>
    Signed-off-by: Len Brown <len.brown@intel.com>
    Cc: Chuck Ebbert <cebbert@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/acpi/events/evgpeblk.c | 4 ++++
    1 file changed, 4 insertions(+)

    --- a/drivers/acpi/events/evgpeblk.c
    +++ b/drivers/acpi/events/evgpeblk.c
    @@ -586,6 +586,10 @@ acpi_ev_delete_gpe_xrupt(struct acpi_gpe
    flags = acpi_os_acquire_lock(acpi_gbl_gpe_lock);
    if (gpe_xrupt->previous) {
    gpe_xrupt->previous->next = gpe_xrupt->next;
    + } else {
    + /* No previous, update list head */
    +
    + acpi_gbl_gpe_xrupt_list_head = gpe_xrupt->next;
    }

    if (gpe_xrupt->next) {
    --
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-08-21 08:57    [W:4.136 / U:0.616 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site