Searched refs:old_ng (Results 1 – 1 of 1) sorted by relevance
86 struct net_generic *ng, *old_ng; in net_assign_generic() local90 old_ng = rcu_dereference_protected(net->gen, in net_assign_generic()92 if (old_ng->s.len > id) { in net_assign_generic()93 old_ng->ptr[id] = data; in net_assign_generic()112 memcpy(&ng->ptr[MIN_PERNET_OPS_ID], &old_ng->ptr[MIN_PERNET_OPS_ID], in net_assign_generic()113 (old_ng->s.len - MIN_PERNET_OPS_ID) * sizeof(void *)); in net_assign_generic()117 kfree_rcu(old_ng, s.rcu); in net_assign_generic()