diff options
author | 2013-02-22 06:38:44 +0000 | |
---|---|---|
committer | 2013-02-22 15:10:19 -0500 | |
commit | 2bb60cb9b7b997bdbc7fd6c8001dcca02a4ea2e1 (patch) | |
tree | d84023f594ef132cb3823080bf9a8f6a406b92b6 /tools/perf/scripts/python/syscall-counts.py | |
parent | ipv4: fix error handling in icmp_protocol. (diff) | |
download | linux-dev-2bb60cb9b7b997bdbc7fd6c8001dcca02a4ea2e1.tar.xz linux-dev-2bb60cb9b7b997bdbc7fd6c8001dcca02a4ea2e1.zip |
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 <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions