Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

net/l2tp/l2tp_core.c l2tp_session_free() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 1-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &m->lock
HALF_LOCKED2 &p->lock
HALF_LOCKED2 &pn->l2tp_session_idr_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tunnel->list_lock
HALF_LOCKED2 bh
HALF_LOCKED2 sk

net/l2tp/l2tp_core.c l2tp_tunnel_del_work() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->acpt_newsess 0
PARAM_VALUE 0 tunnel->l2tp_net 4096-ptr_max
PARAM_VALUE 0 tunnel->l2tp_net->gen 4096-ptr_max
PARAM_VALUE 0 tunnel->list_lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 tunnel->l2tp_net->gen 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

net/l2tp/l2tp_core.c l2tp_tunnel_del_work() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->acpt_newsess 0
PARAM_VALUE 0 tunnel->l2tp_net 4096-ptr_max
PARAM_VALUE 0 tunnel->l2tp_net->gen 4096-ptr_max
PARAM_VALUE 0 tunnel->list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tunnel->sock->__sk_common.skc_net.net->notrefcnt_tracker.dead 1
PARAM_VALUE 0 tunnel->sock->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 tunnel->sock->__sk_common.skc_net.net->refcnt_tracker.dead 1
PARAM_VALUE 0 tunnel->sock->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 tunnel->sock->ns_tracker->dead 0-1
PARAM_VALUE 0 tunnel->sock->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 tunnel->sock->sk_bpf_storage->owner_refcnt.refs.counter s32min-s32max
PARAM_VALUE 0 tunnel->sock->sk_callback_lock.dep_map->name 0-255
PARAM_VALUE 0 tunnel->sock->sk_callback_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 tunnel->sock->sk_owner->refcnt.counter 0-s32max
PARAM_VALUE 0 tunnel->sock->sk_prot_creator->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 tunnel->sock->sk_rcu.func 1-u64max
PARAM_VALUE 0 tunnel->sock->sk_rcu.next 0
PARAM_VALUE 0 tunnel->sock->sk_reuseport_cb 0
PARAM_VALUE 0 tunnel->sock->sk_user_data 0
CAPPED_DATA 0 tunnel->l2tp_net->gen 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

net/l2tp/l2tp_core.c l2tp_udp_encap_destroy() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->sock 4096-ptr_max
BUF_SIZE 0 tunnel->sock (-1),16,24,32,40,56,88,96,120,160,248,568,672,1040,1080,1216
CAPPED_DATA 0 tunnel->sock 1
DATA_SOURCE 0 tunnel r l2tp_sk_to_tunnel
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &sk->__sk_common.skc_net.net->ipv4.ra_mutex
HALF_LOCKED2 &sk->__sk_common.skc_net.net->mctp.keys_lock
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk

net/l2tp/l2tp_core.c l2tp_validate_socket() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->ref_count.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 tunnel->sock 4096-ptr_max
CAPPED_DATA 0 tunnel->sock 1
DATA_SOURCE 0 tunnel r l2tp_sk_to_tunnel
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sk->sk_callback_lock
LOCK2 bh
LOCK2 sk
TYPE_LOCK (struct sock)->sk_callback_lock

net/l2tp/l2tp_ip.c l2tp_ip_destroy_sock() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->sock 4096-ptr_max
BUF_SIZE 0 tunnel->sock (-1),16,24,32,40,56,88,96,120,160,248,568,672,1040,1080,1216
CAPPED_DATA 0 tunnel->sock 1
DATA_SOURCE 0 tunnel r l2tp_sk_to_tunnel
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 sk

net/l2tp/l2tp_ip6.c l2tp_ip6_destroy_sock() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->sock 4096-ptr_max
BUF_SIZE 0 tunnel->sock (-1),16,24,32,40,56,88,96,120,160,248,568,672,1040,1080,1216
CAPPED_DATA 0 tunnel->sock 1
DATA_SOURCE 0 tunnel r l2tp_sk_to_tunnel
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/l2tp/l2tp_debugfs.c l2tp_dfs_next_tunnel() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

net/l2tp/l2tp_debugfs.c l2tp_dfs_seq_release() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/l2tp/l2tp_debugfs.c l2tp_dfs_seq_stop() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &p->lock
TYPE_LOCK (struct seq_file)->lock

net/l2tp/l2tp_ppp.c pppol2tp_connect() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
DATA_SOURCE 0 tunnel r pppol2tp_tunnel_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 sk

net/l2tp/l2tp_ppp.c pppol2tp_next_tunnel() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

net/l2tp/l2tp_ppp.c pppol2tp_next_tunnel() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->ref_count.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 tunnel->sock->__sk_common.skc_net.net->notrefcnt_tracker.dead 1
PARAM_VALUE 0 tunnel->sock->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 tunnel->sock->__sk_common.skc_net.net->refcnt_tracker.dead 1
PARAM_VALUE 0 tunnel->sock->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 tunnel->sock->ns_tracker->dead 0-1
PARAM_VALUE 0 tunnel->sock->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 tunnel->sock->sk_bpf_storage->owner_refcnt.refs.counter s32min-s32max
PARAM_VALUE 0 tunnel->sock->sk_callback_lock.dep_map->name 0-255
PARAM_VALUE 0 tunnel->sock->sk_owner->refcnt.counter 0-s32max
PARAM_VALUE 0 tunnel->sock->sk_prot_creator->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 tunnel->sock->sk_rcu.func 1-u64max
PARAM_VALUE 0 tunnel->sock->sk_rcu.next 0
PARAM_VALUE 0 tunnel->version s32min-1,3-s32max
DATA_SOURCE 0 tunnel r l2tp_tunnel_get_next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

net/l2tp/l2tp_ppp.c pppol2tp_proc_release() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 1-u64max
NOCHECK_CALL

net/l2tp/l2tp_ppp.c pppol2tp_seq_stop() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &p->lock
TYPE_LOCK (struct seq_file)->lock

net/l2tp/l2tp_ppp.c pppol2tp_tunnel_get() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->ref_count.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 tunnel->sock 0
DATA_SOURCE 0 tunnel r l2tp_tunnel_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/l2tp/l2tp_netlink.c l2tp_nl_cmd_session_create() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->ref_count.refs.counter (-1073741824),0-s32max
DATA_SOURCE 0 tunnel r l2tp_tunnel_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &genl_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/l2tp/l2tp_netlink.c l2tp_nl_cmd_session_dump() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &nlk->nl_cb_mutex
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

net/l2tp/l2tp_netlink.c l2tp_nl_cmd_session_dump() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
CAPPED_DATA 0 tunnel->tunnel_id 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &nlk->nl_cb_mutex
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

net/l2tp/l2tp_netlink.c l2tp_nl_cmd_tunnel_create() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->acpt_newsess 1
PARAM_VALUE 0 tunnel->encap 0-1
PARAM_VALUE 0 tunnel->l2tp_net 4096-ptr_max
PARAM_VALUE 0 tunnel->l2tp_net->gen 4096-ptr_max
PARAM_VALUE 0 tunnel->sock 4096-ptr_max
PARAM_VALUE 0 tunnel->sock->sk_lock.owned 0
PARAM_VALUE 0 tunnel->sock->sk_lock.wq.head.next 4096-ptr_max
PARAM_VALUE 0 tunnel->version 0-255
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/l2tp/l2tp_netlink.c l2tp_nl_cmd_tunnel_delete() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
DATA_SOURCE 0 tunnel r l2tp_tunnel_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/l2tp/l2tp_netlink.c l2tp_nl_cmd_tunnel_dump() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->ref_count.refs.counter (-1073741824),0-s32max
DATA_SOURCE 0 tunnel r l2tp_tunnel_get_next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &nlk->nl_cb_mutex
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

net/l2tp/l2tp_netlink.c l2tp_nl_cmd_tunnel_dump() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->ref_count.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 tunnel->sock 0,4096-ptr_max
DATA_SOURCE 0 tunnel r l2tp_tunnel_get_next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &nlk->nl_cb_mutex
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

net/l2tp/l2tp_netlink.c l2tp_nl_cmd_tunnel_get() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->ref_count.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 tunnel->sock 0,4096-ptr_max
DATA_SOURCE 0 tunnel r l2tp_tunnel_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/l2tp/l2tp_netlink.c l2tp_nl_cmd_tunnel_get() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->ref_count.refs.counter (-1073741824),0-s32max
DATA_SOURCE 0 tunnel r l2tp_tunnel_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/l2tp/l2tp_netlink.c l2tp_nl_cmd_tunnel_modify() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->ref_count.refs.counter (-1073741824),0-s32max
DATA_SOURCE 0 tunnel r l2tp_tunnel_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/l2tp/l2tp_netlink.c l2tp_nl_session_get() -> l2tp_tunnel_put()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->ref_count.refs.counter (-1073741824),0-s32max
DATA_SOURCE 0 tunnel r l2tp_tunnel_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
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 &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read