struct sk_buff *skb;            /* pre-allocatd skb */
        struct timer_list timer;
        struct net *net;
+       netns_tracker ns_tracker;
        struct user_namespace *peer_user_ns;    /* User namespace of the peer process */
        u32 peer_portid;                /* PORTID of the peer process */
 
        struct nfulnl_instance *inst =
                container_of(head, struct nfulnl_instance, rcu);
 
-       put_net(inst->net);
+       put_net_track(inst->net, &inst->ns_tracker);
        kfree(inst);
        module_put(THIS_MODULE);
 }
 
        timer_setup(&inst->timer, nfulnl_timer, 0);
 
-       inst->net = get_net(net);
+       inst->net = get_net_track(net, &inst->ns_tracker, GFP_ATOMIC);
        inst->peer_user_ns = user_ns;
        inst->peer_portid = portid;
        inst->group_num = group_num;