[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120727.134632.76746326614521026.davem@davemloft.net>
Date: Fri, 27 Jul 2012 13:46:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: gregkh@...uxfoundation.org, linux-usb@...r.kernel.org,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] USB: kaweth.c: use GFP_ATOMIC under spin_lock
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Fri, 27 Jul 2012 14:46:51 +0300
> The problem is that we call this with a spin lock held. The call tree
> is:
> kaweth_start_xmit() holds kaweth->device_lock.
> -> kaweth_async_set_rx_mode()
> -> kaweth_control()
> -> kaweth_internal_control_msg()
>
> The kaweth_internal_control_msg() function is only called from
> kaweth_control() which used GFP_ATOMIC for its allocations.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied.
--
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