From: Eric Dumazet Date: Mon, 14 Mar 2011 06:22:23 +0000 (-0700) Subject: inetpeer: should use call_rcu() variant X-Git-Tag: upstream/snapshot3+hdmi~11215^2~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e75db2e8ff2c97762e87f61f54d7cdeaab1a6b0;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git inetpeer: should use call_rcu() variant After commit 7b46ac4e77f3224a (inetpeer: Don't disable BH for initial fast RCU lookup.), we should use call_rcu() to wait proper RCU grace period. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/net/ipv4/inetpeer.c b/net/ipv4/inetpeer.c index 86b1d08..dd1b20e 100644 --- a/net/ipv4/inetpeer.c +++ b/net/ipv4/inetpeer.c @@ -399,7 +399,7 @@ static void unlink_from_pool(struct inet_peer *p, struct inet_peer_base *base) write_sequnlock_bh(&base->lock); if (do_free) - call_rcu_bh(&p->rcu, inetpeer_free_rcu); + call_rcu(&p->rcu, inetpeer_free_rcu); else /* The node is used again. Decrease the reference counter * back. The loop "cleanup -> unlink_from_unused