From: "vijay anand" <vijayanand.sj@gmail.com>
To: linux-kernel@vger.kernel.org, dave@awk.cz
Subject: [BUG] cdc-acm driver module
Date: Wed, 21 May 2008 18:31:21 +0530 [thread overview]
Message-ID: <b49af93b0805210601n38030150w643565b60edc85da@mail.gmail.com> (raw)
Hi All,
This is vijay and new to this group. Normally I use to go through the
Linux kernel source and try to understand how things work.
Last week I was going through the cdc-acm driver source(linux-2.6.25).
I think there is a bug with that driver and I am not sure about it. So
I decided to post you guys and get your views on that.
The interface is claimed in 'acm_probe' using 'usb_driver_claim_interface' and
it has been released in 'acm_disconnect' using 'usb_driver_release_interface'.
This works fine as long as the control reaches 'acm_disconnect'.
What happens when the control never reaches the 'acm_disconnect'. Like simply
loading the driver and unloading the driver when the device is still in use.
In this case I hope the 'usb_driver_release_interface' never gets called.
Is it a bug? Do we have to do a 'usb_driver_release_interface' in 'acm_exit'.
Please clarify.
Thanks,
VJ
next reply other threads:[~2008-05-21 13:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-21 13:01 vijay anand [this message]
2008-05-21 13:25 ` Oliver Neukum
2008-05-22 4:59 ` vijay anand
2008-05-22 11:21 ` Oliver Neukum
2008-05-22 13:24 ` vijay anand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b49af93b0805210601n38030150w643565b60edc85da@mail.gmail.com \
--to=vijayanand.sj@gmail.com \
--cc=dave@awk.cz \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®