From: Eric Dumazet Date: Thu, 12 May 2011 21:46:56 +0000 (-0400) Subject: garp: remove last synchronize_rcu() call X-Git-Tag: v3.0-rc1~377^2~104^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f607a158004d75c9005423ce1ba70dc6ec3dd9c2;p=pandora-kernel.git garp: remove last synchronize_rcu() call When removing last vlan from a device, garp_uninit_applicant() calls synchronize_rcu() to make sure no user can still manipulate struct garp_applicant before we free it. Use call_rcu() instead, as a step to further net_device dismantle optimizations. Add the temporary garp_cleanup_module() function to make sure no pending call_rcu() are left at module unload time [ this will be removed when kfree_rcu() is available ] Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed