[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1410398251.7106.45.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Wed, 10 Sep 2014 18:17:31 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: John Fastabend <john.fastabend@...il.com>
Cc: xiyou.wangcong@...il.com, davem@...emloft.net, jhs@...atatu.com,
netdev@...r.kernel.org, paulmck@...ux.vnet.ibm.com,
brouer@...hat.com
Subject: Re: [net-next PATCH v4 08/16] net: sched: RCU cls_tcindex
On Wed, 2014-09-10 at 08:50 -0700, John Fastabend wrote:
> Make cls_tcindex RCU safe.
>
> This patch addds a new RCU routine rcu_dereference_bh_rtnl() to check
> caller either holds the rcu read lock or RTNL. This is needed to
> handle the case where tcindex_lookup() is being called in both cases.
>
> Signed-off-by: John Fastabend <john.r.fastabend@...el.com>
> ---
Acked-by: Eric Dumazet <edumazet@...gle.com>
--
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