summaryrefslogtreecommitdiffstats
path: root/include/linux/of.h
diff options
context:
space:
mode:
authorJohn Fastabend2012-08-14 14:34:35 +0200
committerDavid S. Miller2012-08-16 23:56:11 +0200
commit476ad154f3b41dd7d9a08a2f641e28388abc2fd1 (patch)
treedf3621b3720766e4bf3a330d1114e8a1c5beace1 /include/linux/of.h
parentnet: netprio: fd passed in SCM_RIGHTS datagram not set correctly (diff)
downloadkernel-qcow2-linux-476ad154f3b41dd7d9a08a2f641e28388abc2fd1.tar.gz
kernel-qcow2-linux-476ad154f3b41dd7d9a08a2f641e28388abc2fd1.tar.xz
kernel-qcow2-linux-476ad154f3b41dd7d9a08a2f641e28388abc2fd1.zip
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 <nhorman@tuxdriver.com> Reported-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/of.h')
0 files changed, 0 insertions, 0 deletions