Subject: Re: [PATCH] net: Fix locking bug in netif_set_xps_queue

From: Alexander Duyck <[email-masked]>
Date: Fri, 22 Feb 2013 13:21:09 -0800

On 02/22/2013 12:14 PM, David Miller wrote:
> From: Alexander Duyck <[email-masked]>
> Date: Fri, 22 Feb 2013 08:38:44 -0800
>
>> Smatch found a locking bug in netif_set_xps_queue in which we were not
>> releasing the lock in the case of an allocation failure.
>>
>> This change corrects that so that we release the xps_map_mutex before
>> returning -ENOMEM in the case of an allocation failure.
>>
>> Signed-off-by: Alexander Duyck <[email-masked]>
> Applied and queue up for -stable, thanks Alex.

No patch is needed for -stable.  This was something I had introduced
into net-next when I moved the XPS logic into its own function.

Thanks,

Alex