[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130222.151442.333174353561165623.davem@davemloft.net>
Date: Fri, 22 Feb 2013 15:14:42 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: alexander.h.duyck@...el.com
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
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.
--
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