commit | 437b8a26f9d057505e631b9b556e9d80c1987aca | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Mon Jun 02 23:08:47 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 02 23:16:41 2014 -0700 |
tree | 8ae56824c481cde1fdb5504be48a21475e8d4272 | |
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>