[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201105170826.42212.oneukum@suse.de>
Date: Tue, 17 May 2011 08:26:42 +0200
From: Oliver Neukum <oneukum@...e.de>
To: Alexey ORISHKO <alexey.orishko@...ricsson.com>
Cc: David Miller <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"gregkh@...e.de" <gregkh@...e.de>
Subject: Re: [PATCH] CDC NCM: release interfaces fix in unbind()
Am Dienstag, 17. Mai 2011, 02:52:34 schrieb Alexey ORISHKO:
> Some confusion was added by other driver code that handles crippled
> devices, which mix ctrl and data interfaces... Shall not be the case here.
> I see, that some clean up can be done and "xxx_claimed" fields in context
> structure can be removed, so will post a new version of patch shortly.
This code is a bit tricky in those drivers because you cannot assume a certain
order of calls to disconnect() w.r.t. the interfaces. If you claim multiple
interfaces, you need to release all other interfaces, as soon as any interface
is disconnected.
Regards
Oliver
--
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