Messages in this thread | | | Date | Mon, 06 Apr 2009 17:43:40 -0700 (PDT) | Subject | Re: [PATCH 2/3] gigaset: in file ops, check for device disconnect before anything else | From | David Miller <> |
| |
From: Tilman Schmidt <tilman@imap.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@imap.cc> > Reported-by: Paul Bolle <pebolle@tiscali.nl> > Tested-by: Paul Bolle <pebolle@tiscali.nl>
Applied.
| |