diff options
author | Michael Chan <mchan@broadcom.com> | 2014-06-02 23:08:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-02 23:16:41 -0700 |
commit | 437b8a26f9d057505e631b9b556e9d80c1987aca (patch) | |
tree | 8ae56824c481cde1fdb5504be48a21475e8d4272 /kernel/bpf/arraymap.c | |
parent | 20f30c2d5ea44925cb83b0fdae78b8600a76b66e (diff) |
cnic: Don't take cnic_dev_lock in cnic_alloc_uio_rings()
We are allocating memory with GFP_KERNEL under spinlock. Since this is
the only call manipulating the cnic_udev_list and it is always under
rtnl_lock, cnic_dev_lock can be safely removed.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions