ipv4: Convert call_rcu() to kfree_rcu(), drop opt_kfree_rcu
authorPaul E. McKenney <paul.mckenney@linaro.org>
Sat, 7 Jan 2012 01:08:33 +0000 (17:08 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 21 Feb 2012 17:03:32 +0000 (09:03 -0800)
commit605b4afec8e51d0603089eac01a3ca9dd919e909
tree7b57719cd58c9cbce4294eaa7c58afb09fce3829
parent4f9c8c1b091628a550b70ee51d7d729187f5c290
ipv4: Convert call_rcu() to kfree_rcu(), drop opt_kfree_rcu

The call_rcu() in do_ip_setsockopt() invokes opt_kfree_rcu(), which just
calls kfree().  So convert the call_rcu() to kfree_rcu(), which allows
opt_kfree_rcu() to be eliminated.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: James Morris <jmorris@namei.org>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: Patrick McHardy <kaber@trash.net>
Cc: netdev@vger.kernel.org
net/ipv4/ip_sockglue.c