[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5127E145.2070008@intel.com>
Date: Fri, 22 Feb 2013 13:21:09 -0800
From: Alexander Duyck <alexander.h.duyck@...el.com>
To: David Miller <davem@...emloft.net>
CC: netdev@...r.kernel.org, fengguang.wu@...el.com,
dan.carpenter@...cle.com, jeffrey.t.kirsher@...el.com
Subject: Re: [PATCH] net: Fix locking bug in netif_set_xps_queue
On 02/22/2013 12:14 PM, David Miller wrote:
> From: Alexander Duyck <alexander.h.duyck@...el.com>
> 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 <alexander.h.duyck@...el.com>
> 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
--
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