summaryrefslogtreecommitdiff
path: root/include/scsi/scsi_common.h
diff options
context:
space:
mode:
authorShaker Daibes <shakerd@mellanox.com>2017-01-29 18:56:19 +0200
committerDavid S. Miller <davem@davemloft.net>2017-01-30 15:26:43 -0500
commitbf1f9396831ca7a4f527a326f1438f1bf85e2239 (patch)
tree9a657271f0444579fcfa7567fa4383be00cf531b /include/scsi/scsi_common.h
parent40fb4fc1e18bc641a0d0887ac21943fd194c1fa9 (diff)
net/mlx4_en: Check the enabling mtu flag in SET_PORT wrapper flow
Make sure MTU mask flag is set using new field upon set port request. In addition, move this code into a helper function for better code readability. Signed-off-by: Shaker Daibes <shakerd@mellanox.com> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/scsi/scsi_common.h')
0 files changed, 0 insertions, 0 deletions
PERCPU_COUNT_BIAS, and __PERCPU_REF_DEAD, __PERCPU_REF_ATOMIC set) and no requests. However, conditions at the time of the race are count of PERCPU_COUNT_BIAS + 0 and __PERCPU_REF_DEAD and __PERCPU_REF_ATOMIC set. The fix is to make the tryget routines use an actual boolean internally instead of the atomic long result truncated to a int. Fixes: e625305b3907 percpu-refcount: make percpu_ref based on longs instead of ints Link: https://bugzilla.kernel.org/show_bug.cgi?id=190751 Signed-off-by: Douglas Miller <dougmill@linux.vnet.ibm.com> Reviewed-by: Jens Axboe <axboe@fb.com> Signed-off-by: Tejun Heo <tj@kernel.org> Fixes: e625305b3907 ("percpu-refcount: make percpu_ref based on longs instead of ints") Cc: stable@vger.kernel.org # v3.18+
Diffstat (limited to 'security/integrity/ima/ima_queue.c')