Thread (10 messages) flat view 10 messages, 4 authors, 2012-08-16

Re: [net PATCH v3 3/3] net: netprio: fix cgrp create and write priomap race

From: David Miller <davem@davemloft.net>
Date: 2012-08-16 22:12:01
Also in: lkml

From: John Fastabend <redacted>
Date: Tue, 14 Aug 2012 15:34:35 -0700
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 <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help