[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120816.151156.967092597887492349.davem@davemloft.net>
Date: Thu, 16 Aug 2012 15:11:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: john.r.fastabend@...el.com
Cc: viro@...IV.linux.org.uk, nhorman@...driver.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
joe@...ches.com
Subject: Re: [net PATCH v3 3/3] net: netprio: fix cgrp create and write
priomap race
From: John Fastabend <john.r.fastabend@...el.com>
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@...driver.com>
> Reported-by: Al Viro <viro@...IV.linux.org.uk>
> Signed-off-by: John Fastabend <john.r.fastabend@...el.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists