aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas
diff options
context:
space:
mode:
authorJohn Fastabend <[email protected]>2012-08-14 12:34:35 +0000
committerDavid S. Miller <[email protected]>2012-08-16 14:56:11 -0700
commit476ad154f3b41dd7d9a08a2f641e28388abc2fd1 (patch)
treedf3621b3720766e4bf3a330d1114e8a1c5beace1 /drivers/scsi/mpt2sas
parent48a87cc26c13b68f6cce4e9d769fcb17a6b3e4b8 (diff)
net: netprio: fix cgrp create and write priomap race
A race exists where creating cgroups and also updating the priomap may result in losing a priomap update. This is because priomap writers are not protected by rtnl_lock. Move priority writer into rtnl_lock()/rtnl_unlock(). CC: Neil Horman <[email protected]> Reported-by: Al Viro <[email protected]> Signed-off-by: John Fastabend <[email protected]> Acked-by: Neil Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas')
0 files changed, 0 insertions, 0 deletions