[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100611.183902.91325453.davem@davemloft.net>
Date: Fri, 11 Jun 2010 18:39:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: jarkao2@...il.com, xiaosuo@...il.com, netdev@...r.kernel.org,
shemminger@...tta.com, kaber@...sh.net
Subject: Re: [PATCH] pkt_sched: gen_kill_estimator() rcu fixes
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 09 Jun 2010 14:09:23 +0200
> [PATCH v2] pkt_sched: gen_kill_estimator() rcu fixes
>
> gen_kill_estimator() API is incomplete or not well documented, since
> caller should make sure an RCU grace period is respected before
> freeing stats_lock.
>
> This was partially addressed in commit 5d944c640b4
> (gen_estimator: deadlock fix), but same problem exist for all
> gen_kill_estimator() users, if lock they use is not already RCU
> protected.
>
> A code review shows xt_RATEEST.c, act_api.c, act_police.c have this
> problem. Other are ok because they use qdisc lock, already RCU
> protected.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks.
--
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