[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110531.153030.224764258.davem@davemloft.net>
Date: Tue, 31 May 2011 15:30:30 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: khoroshilov@...ras.ru
Cc: gregkh@...e.de, linux-usb@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers/net/usb/catc.c: Fix potential deadlock in
catc_ctrl_run()
From: Alexey Khoroshilov <khoroshilov@...ras.ru>
Date: Mon, 30 May 2011 21:06:24 +0400
> catc_ctrl_run() calls usb_submit_urb() with GFP_KERNEL, while it is called from
> catc_ctrl_async() and catc_ctrl_done() with catc->ctrl_lock spinlock held.
>
> The patch replaces GFP_KERNEL with GFP_ATOMIC.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@...ras.ru>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists