summaryrefslogtreecommitdiffstats
path: root/Documentation/isdn
diff options
context:
space:
mode:
authorTilman Schmidt2009-04-05 08:39:33 +0200
committerDavid S. Miller2009-04-07 02:07:57 +0200
commit51370e5b21c5825cff7482e1c38f4e7c5dab3e2b (patch)
treea20d0e46399d92a72f0056abdb025c63afae53f6 /Documentation/isdn
parentbas_gigaset: use tasklet_hi_schedule for timing critical tasklets (diff)
downloadkernel-qcow2-linux-51370e5b21c5825cff7482e1c38f4e7c5dab3e2b.tar.gz
kernel-qcow2-linux-51370e5b21c5825cff7482e1c38f4e7c5dab3e2b.tar.xz
kernel-qcow2-linux-51370e5b21c5825cff7482e1c38f4e7c5dab3e2b.zip
gigaset: in file ops, check for device disconnect before anything else
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/isdn')
0 files changed, 0 insertions, 0 deletions