From: Alexander Duyck Date: Fri, 22 Feb 2013 06:38:44 +0000 (+0000) Subject: net: Fix locking bug in netif_set_xps_queue X-Git-Tag: v3.9-rc1~70^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bb60cb9b7b997bdbc7fd6c8001dcca02a4ea2e1;p=pandora-kernel.git net: Fix locking bug in netif_set_xps_queue 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed