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