Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

net/ipv4/nexthop.c nexthop_free_single() -> fib6_nh_release()

Type Parameter Key Value
PARAM_VALUE 0 fib6_nh 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 bh
HALF_LOCKED2 rcu

net/ipv4/nexthop.c nh_create_ipv6() -> fib6_nh_release()

Type Parameter Key Value
PARAM_VALUE 0 fib6_nh 4096-ptr_max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_dev->ip6_ptr 4096-ptr_max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_dev->refcnt_tracker.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_dev->refcnt_tracker.quarantine.prev->next 4096-ptr_max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_dev->refcnt_tracker.quarantine.prev->next->next 4096-ptr_max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_dev_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_dev_tracker->dead 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_dev_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_family 10
PARAM_VALUE 0 fib6_nh->nh_common.nhc_lwtstate 0
PARAM_VALUE 0 fib6_nh->nh_common.nhc_pcpu_rth_output 0
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst->child->dev->pcpu_refcnt s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst->child->ops->pcpuc_entries.counters s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst->child->ops->pcpuc_entries.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->__rcuref.refcnt.counter s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->dev->refcnt_tracker.quarantine_avail 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->dev_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->dev_tracker->dead 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->dev_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->dst_trace_seq.counter s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->lwtstate->data->in.prog->aux->work.flags 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->lwtstate->entry.next s64max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->lwtstate->function 1626621062881370112
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->lwtstate->is_hard 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->lwtstate->is_lazy 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->lwtstate->is_queued 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->lwtstate->is_soft 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->lwtstate->refcnt.counter s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->ops->pcpuc_entries.lock.owner_cpu 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->route->callback_head.entry.next s64max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->route->callback_head.function 1626621062881370112
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->u.rt6.rt6i_idev->rcu.entry.next s64max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child->u.rt6.rt6i_idev->rcu.function 1626621062881370112
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.child_mtu_cached 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.dev_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.dev_tracker->dead 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.dev_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.dst_trace_seq.counter s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.input 8553433669308997632
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->bpf.prog->aux->work.flags 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->bpf.prog->aux->work.is_hard 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->bpf.prog->aux->work.is_lazy 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->bpf.prog->aux->work.is_queued 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->bpf.prog->aux->work.is_soft 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->in.prog->aux->work.flags 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->in.prog->aux->work.is_hard 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->in.prog->aux->work.is_lazy 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->in.prog->aux->work.is_queued 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->in.prog->aux->work.is_soft 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->out.prog->aux->work.flags 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->out.prog->aux->work.is_hard 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->out.prog->aux->work.is_lazy 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->out.prog->aux->work.is_queued 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->out.prog->aux->work.is_soft 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->xmit.prog->aux->work.flags 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->xmit.prog->aux->work.is_hard 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->xmit.prog->aux->work.is_lazy 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->xmit.prog->aux->work.is_queued 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->data->xmit.prog->aux->work.is_soft 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->entry.next s64max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->entry.pprev 0
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->function 1626621062881370112
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->is_hard 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->is_lazy 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->is_queued 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->is_soft 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->node.node.next 0
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.lwtstate->node.node.prev 0
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.num_pols s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.num_xfrms s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.obsolete 2
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.ops->pcpuc_entries.lock.dep_map->name 0-255
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.output 1359104979572629504
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.path_cookie 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.policy_genid 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.route->callback_head.entry.next s64max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.route->callback_head.function 1626621062881370112
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.route_cookie 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.route_mtu_cached 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.dst.__pad s16min-s16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.dst.__rcuref.refcnt.counter s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.dst.__use s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.dst.dst_trace_seq.counter s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.dst.error s16min-s16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.dst.flags 0-u16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.dst.header_len 0-u16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.dst.obsolete s16min-s16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.dst.tclassid 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.dst.trailer_len 0-u16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.dst.__pad s16min-s16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.dst.__rcuref.refcnt.counter s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.dst.__use s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.dst.dst_trace_seq.counter s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.dst.error s16min-s16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.dst.flags 0-u16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.dst.header_len 0-u16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.dst.obsolete s16min-s16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.dst.tclassid 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.dst.trailer_len 0-u16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.rt_flags 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.rt_genid s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.rt_gw4 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.rt_gw_family 0-255
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.rt_iif s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.rt_is_input 0-255
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.rt_mtu_locked 0-1
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.rt_pmtu 0-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.rt_type 0-u16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt.rt_uses_gateway 0-255
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.dst.__pad s16min-s16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.dst.__rcuref.refcnt.counter s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.dst.__use s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.dst.dst_trace_seq.counter s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.dst.error s16min-s16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.dst.flags 0-u16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.dst.header_len 0-u16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.dst.obsolete s16min-s16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.dst.tclassid 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.dst.trailer_len 0-u16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.rt6i_dst.plen s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.rt6i_flags 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.rt6i_idev->rcu.entry.next s64max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.rt6i_idev->rcu.function 1626621062881370112
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.rt6i_idev->stats.proc_dir_entry 0,4806605944481423360
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.rt6i_nfheader_len 0-u16max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.rt6i_src.plen s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.rt6.sernum s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.xfrm_info.dst_orig->__rcuref.refcnt.counter s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.xfrm_info.dst_orig->callback_head.entry.next s64max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.xfrm_info.dst_orig->callback_head.entry.pprev 0
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.xfrm_info.dst_orig->callback_head.function 1626621062881370112
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.u.xfrm_info.dst_orig->dst_trace_seq.counter s32min-s32max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input->dst.xfrm_genid 0-4294967295
PARAM_VALUE 0 fib6_nh->nh_common.nhc_weight 1
BUF_SIZE 0 fib6_nh 104
CAPPED_DATA 0 fib6_nh->nh_common.nhc_exceptions 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &net->rtnl_mutex
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rx_queue_mutex
TYPE_LOCK (struct net)->rtnl_mutex

net/ipv4/fib_semantics.c fib_check_nh_v6_gw() -> fib6_nh_release()

Type Parameter Key Value
PARAM_VALUE 0 fib6_nh 4166114070911225856
PARAM_VALUE 0 fib6_nh->nh_common.nhc_dev 4096-ptr_max
PARAM_VALUE 0 fib6_nh->nh_common.nhc_exceptions 0
PARAM_VALUE 0 fib6_nh->nh_common.nhc_family 10
PARAM_VALUE 0 fib6_nh->nh_common.nhc_gw_family 0,10
PARAM_VALUE 0 fib6_nh->nh_common.nhc_rth_input 0
PARAM_VALUE 0 fib6_nh->nh_common.nhc_weight 1
PARAM_VALUE 0 fib6_nh->rt6i_exception_bucket 0
PARAM_VALUE 0 fib6_nh->rt6i_pcpu 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex

net/ipv6/ip6_fib.c fib6_info_destroy_rcu() -> fib6_nh_release()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 bh
HALF_LOCKED2 rcu