Defined in 1 files as a function:
Referenced in 5 files:
- fs/proc/proc_net.c, line 62
- include/net/net_namespace.h, line 396
- include/net/pkt_cls.h, line 272
- net/l2tp/l2tp_debugfs.c, line 284
- net/netfilter/nf_nat_masquerade.c, line 126
Smatch caller information:
fs/proc/proc_net.c get_net_track() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | tracker | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/proc/proc_net.c seq_open_net() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1-u64max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| BUF_SIZE | 0 | net | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | net | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | net | r get_proc_net |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/sched/cls_flower.c tcf_exts_get_net() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1-u64max |
| PARAM_VALUE | 0 | net->ns.__ns_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | net | r maybe_get_net |
| PARAM_COMPARE | 0 | net | == $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/sched/cls_bpf.c tcf_exts_get_net() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1-u64max |
| PARAM_VALUE | 0 | net->ns.__ns_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | net | r maybe_get_net |
| PARAM_COMPARE | 0 | net | == $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/client.c get_net_track() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | tracker | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/sunrpc/xprt.c get_net_track() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| BUF_SIZE | 0 | net | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | net | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | tracker | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &of->mutex |
net/sunrpc/svc_xprt.c get_net_track() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 2080 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | tracker | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| STR_LEN | 0 | net | (-1),3 |
| STR_LEN | 0 | net | (-1),3 |
| MEM_ZERO | 1 | tracker | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
drivers/net/ppp/ppp_generic.c get_net_track() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | tracker | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ps->sk_lock | ||
| HALF_LOCKED2 | sk |
net/sched/cls_cgroup.c tcf_exts_get_net() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1-u64max |
| PARAM_VALUE | 0 | net->ns.__ns_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | net | r maybe_get_net |
| PARAM_COMPARE | 0 | net | == $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/sched/cls_matchall.c tcf_exts_get_net() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1-u64max |
| PARAM_VALUE | 0 | net->ns.__ns_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | net | r maybe_get_net |
| PARAM_COMPARE | 0 | net | == $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/netfilter/nf_bpf_link.c get_net_track() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | tracker | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| NOCHECK_CALL |
net/sched/cls_u32.c tcf_exts_get_net() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1-u64max |
| PARAM_VALUE | 0 | net->ns.__ns_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | net | r maybe_get_net |
| PARAM_COMPARE | 0 | net | == $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/sunrpc/auth_gss/auth_gss.c get_net_track() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | tracker | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/sfc/tc_encap_actions.c get_net_track() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 4197568 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | tracker | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| NOCHECK_CALL |
net/l2tp/l2tp_debugfs.c l2tp_dfs_seq_open() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1-ptr_max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | net | r get_net_ns_by_pid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/core/sock.c get_net_track() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 2080,3264 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | tracker | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| HARD_MAX | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->ipv6.igmp_sk->sk_write_queue.next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 0 | net->sctp.ctl_sock->sk_write_queue.next->truesize | |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | sk |
net/l2tp/l2tp_ppp.c pppol2tp_proc_open() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1-u64max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| BUF_SIZE | 0 | net | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | net | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | net | r maybe_get_net |
| PARAM_COMPARE | 0 | net | == $0 |
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_array_size |
drivers/vhost/vsock.c get_net_track() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | tracker | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nfnetlink_log.c get_net_track() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 2080 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | tracker | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | &log->instances_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct nfnl_log_net)->instances_lock |
net/sched/cls_flow.c tcf_exts_get_net() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1-u64max |
| PARAM_VALUE | 0 | net->ns.__ns_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | net | r maybe_get_net |
| PARAM_COMPARE | 0 | net | == $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/sched/cls_fw.c tcf_exts_get_net() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1-u64max |
| PARAM_VALUE | 0 | net->ns.__ns_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | net | r maybe_get_net |
| PARAM_COMPARE | 0 | net | == $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/sched/cls_basic.c tcf_exts_get_net() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1-u64max |
| PARAM_VALUE | 0 | net->ns.__ns_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | net | r maybe_get_net |
| PARAM_COMPARE | 0 | net | == $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/netfilter/nf_nat_masquerade.c nf_nat_masq_schedule() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1-u64max |
| PARAM_VALUE | 0 | net->ns.__ns_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 2080,3264 |
| DATA_SOURCE | 0 | net | r maybe_get_net |
| DATA_SOURCE | 2 | gfp | $4 |
| PARAM_COMPARE | 0 | net | == $0 |
| HARD_MAX | 2 | gfp | 3264 |
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
net/sched/cls_route.c tcf_exts_get_net() -> netns_tracker_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1-u64max |
| PARAM_VALUE | 0 | net->ns.__ns_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | tracker | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | net | r maybe_get_net |
| PARAM_COMPARE | 0 | net | == $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |