From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Tettamanti Subject: Re: [PATCH 1/2] atl1: fix resume Date: Wed, 22 Sep 2010 21:34:25 +0200 Message-ID: References: <1284717403-12913-1-git-send-email-kronos.it@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Luca Tettamanti , atl1-devel@lists.sourceforge.net, jcliburn@gmail.com, chris.snook@gmail.com, jie.yang@atheros.com To: netdev@vger.kernel.org Return-path: Received: from mail-gy0-f174.google.com ([209.85.160.174]:40336 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754427Ab0IVTe0 (ORCPT ); Wed, 22 Sep 2010 15:34:26 -0400 Received: by gyd8 with SMTP id 8so303872gyd.19 for ; Wed, 22 Sep 2010 12:34:26 -0700 (PDT) In-Reply-To: <1284717403-12913-1-git-send-email-kronos.it@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Sep 17, 2010 at 11:56 AM, Luca Tettamanti wrote: > adapter->cmb.cmb is initialized when the device is opened and freed when > it's closed. Accessing it unconditionally during resume results either > in a crash (NULL pointer dereference, when the interface has not been > opened yet) or data corruption (when the interface has been used and > brought down adapter->cmb.cmb points to a deallocated memory area). > > Cc: stable@kernel.org > Signed-off-by: Luca Tettamanti > Acked-by: Chris Snook Ping? Luca