On Tue, Apr 23, 2013 at 04:34:35PM +0200, Antonio Quartulli wrote:
+/**
- batadv_priv_vlan_free_ref - decrease vlan refcounter and possibly free it
- @priv_vlan: the vlan object to release
- */
+void batadv_priv_vlan_free_ref(struct batadv_priv_vlan *priv_vlan) +{
- if (atomic_dec_and_test(&priv_vlan->refcount))
kfree_rcu(priv_vlan, rcu);
I was just looking at compat.h....I guess this kfree_rcu needs some compat work for kernels older than 3.0.0.
Will add it during the next respin.
Cheers,