Thread (1 message) 1 message, 1 author, 2012-10-10

Re: [PATCH 12/12] usbnet: make device out of suspend before calling usbnet_read/write_cmd

From: Ming Lei <hidden>
Date: 2012-10-10 06:00:38

On Wed, Oct 10, 2012 at 10:33 AM, Ming Lei [off-list ref] wrote:
Good catch, thanks for your review.

As far as I can think of, the mutex_is_locked() trick can solve the problem.

How about the attached patch?
This one is still not good.

After further thought, it may be better to fix the problem in net
core(dev_ioctl)
because the problem happens on other net devices too.

Thanks,
--
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help