[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090406.174340.253577345.davem@davemloft.net>
Date: Mon, 06 Apr 2009 17:43:40 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tilman@...p.cc
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org, hjlipp@....de
Subject: Re: [PATCH 2/3] gigaset: in file ops, check for device disconnect
before anything else
From: Tilman Schmidt <tilman@...p.cc>
Date: Sun, 5 Apr 2009 18:39:33 +0200 (CEST)
> When the device is disconnected, the dev structure goes away, so
> trying to report another error via dev_printk is bound to oops.
> To avoid that, first check whether the device is still connected
> and return quietly if it isn't.
>
> Impact: error handling
>
> Signed-off-by: Tilman Schmidt <tilman@...p.cc>
> Reported-by: Paul Bolle <pebolle@...cali.nl>
> Tested-by: Paul Bolle <pebolle@...cali.nl>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists