Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/mroute_base.h, line 347 (as a function)
- net/ipv4/ipmr_base.c, line 216 (as a function)
Referenced in 2 files:
Smatch caller information:
net/ipv6/ip6mr.c ip6mr_cache_resolve() -> mr_fill_mroute()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrt | 4096-ptr_max |
| PARAM_VALUE | 0 | mrt->mfc_cache_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mrt->mfc_cache_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mrt->mfc_hash.ht.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 0 | mrt->mfc_hash.ht.tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | mrt->ops.rht_params | 4096-ptr_max |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->next | 0 |
| PARAM_VALUE | 1 | skb->prev | 0 |
| PARAM_VALUE | 2 | c | 4096-ptr_max |
| PARAM_VALUE | 2 | c->free | 8402664037824884736 |
| PARAM_VALUE | 2 | c->list.next | 4096-ptr_max |
| PARAM_VALUE | 2 | c->mfc_parent | 0-31 |
| PARAM_VALUE | 2 | c->mfc_un.res.minvif | 0-32 |
| PARAM_VALUE | 2 | c->mfc_un.res.refcount.refs.counter | 1 |
| PARAM_VALUE | 3 | rtm | 4096-ptr_max |
| CAPPED_DATA | 0 | mrt->id | 1 |
| CAPPED_DATA | 0 | mrt->maxvif | 1 |
| CAPPED_DATA | 0 | mrt->mfc_hash.ht.tbl | 1 |
| DATA_SOURCE | 0 | mrt | $1 |
| DATA_SOURCE | 1 | skb | r __skb_dequeue |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | c->mfc_parent | 0-31 |
| USER_DATA | 3 | rtm->rtm_dst_len | 0-255 |
| USER_DATA | 3 | rtm->rtm_family | 0-255 |
| USER_DATA | 3 | rtm->rtm_flags | 0-u32max |
| USER_DATA | 3 | rtm->rtm_protocol | 0-255 |
| USER_DATA | 3 | rtm->rtm_scope | 0-255 |
| USER_DATA | 3 | rtm->rtm_src_len | 0-255 |
| USER_DATA | 3 | rtm->rtm_table | 0-255 |
| USER_DATA | 3 | rtm->rtm_tos | 0-255 |
| USER_DATA | 3 | rtm->rtm_type | 0-255 |
| USER_PTR | 3 | rtm | |
| LOCK2 | &net->ipv6.mfc_mutex | ||
| TYPE_LOCK | (struct netns_ipv6)->mfc_mutex |
net/ipv6/ip6mr.c ip6mr_fill_mroute() -> mr_fill_mroute()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrt | 4096-ptr_max |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->data_len | 0 |
| PARAM_VALUE | 2 | c | 4096-ptr_max |
| PARAM_VALUE | 3 | rtm | 4096-ptr_max |
| PARAM_VALUE | 3 | rtm->rtm_dst_len | 128 |
| PARAM_VALUE | 3 | rtm->rtm_family | 129 |
| PARAM_VALUE | 3 | rtm->rtm_flags | 0 |
| PARAM_VALUE | 3 | rtm->rtm_protocol | 4,17 |
| PARAM_VALUE | 3 | rtm->rtm_scope | 0 |
| PARAM_VALUE | 3 | rtm->rtm_src_len | 128 |
| PARAM_VALUE | 3 | rtm->rtm_tos | 0 |
| PARAM_VALUE | 3 | rtm->rtm_type | 5 |
| BUF_SIZE | 0 | mrt | (-1),4288 |
| BUF_SIZE | 0 | mrt | (-1),4288 |
| BUF_SIZE | 1 | skb | (-1)-s32max |
| BUF_SIZE | 1 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | mrt | $0 |
| DATA_SOURCE | 1 | skb | $1 |
| DATA_SOURCE | 3 | rtm | r nlmsg_data |
| FUZZY_MAX | 3 | rtm->rtm_protocol | 17 |
| BIT_INFO | 3 | rtm->rtm_protocol | 0x0,0x15 |
| HARD_MAX | 3 | rtm->rtm_protocol | 17 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | mrt->mroute_sk->sk_receive_queue.prev->csum_offset | 0-u16max |
| HOST_DATA | 0 | mrt->mroute_sk->sk_receive_queue.prev->next->csum_offset | 0-u16max |
| HOST_DATA | 0 | mrt->mroute_sk->sk_receive_queue.prev->next->tstamp | 500000002-4294967299794967295[c] |
| HOST_DATA | 0 | mrt->mroute_sk->sk_receive_queue.prev->next->users.refs.counter | s32min-0,2-s32max |
| HOST_DATA | 0 | mrt->mroute_sk->sk_receive_queue.prev->tstamp | 500000002-4294967299794967295[c] |
| HOST_DATA | 0 | mrt->mroute_sk->sk_receive_queue.prev->users.refs.counter | s32min-0,2-s32max |
| USER_DATA | 0 | mrt->id | 1-255[c] |
| USER_DATA | 2 | c->mfc_parent | 0-31 |
| USER_DATA | 3 | rtm->rtm_table | 1-255[c] |
| USER_PTR | 3 | rtm | |
| HALF_LOCKED2 | rcu_read |
net/ipv6/ip6mr.c ip6mr_get_route() -> mr_fill_mroute()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrt | 4096-ptr_max |
| PARAM_VALUE | 0 | mrt->id | 254 |
| PARAM_VALUE | 0 | mrt->mfc_hash.ht.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 0 | mrt->ops.rht_params | 4096-ptr_max |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->_skb_refdst | 4096-18446744073709547520 |
| PARAM_VALUE | 1 | skb->data_len | 0 |
| PARAM_VALUE | 2 | c | 1-u64max |
| PARAM_VALUE | 3 | rtm | 4096-ptr_max |
| PARAM_VALUE | 3 | rtm->rtm_family | 10 |
| PARAM_VALUE | 3 | rtm->rtm_flags | 0,512 |
| PARAM_VALUE | 3 | rtm->rtm_scope | 0 |
| PARAM_VALUE | 3 | rtm->rtm_tos | 0 |
| BUF_SIZE | 1 | skb | 3776 |
| BUF_SIZE | 1 | skb | 3776 |
| DATA_SOURCE | 0 | mrt | r __ip6mr_get_table |
| DATA_SOURCE | 1 | skb | $1 |
| DATA_SOURCE | 3 | rtm | $2 |
| FUZZY_MAX | 3 | rtm->rtm_flags | 0 |
| BIT_INFO | 3 | rtm->rtm_flags | 0x0,0x200 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | rtm->rtm_dst_len | 0-128[c] |
| USER_PTR | 3 | rtm | |
| LOCK2 | rcu_read | ||
| 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 &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/ipv4/ipmr.c ipmr_cache_resolve() -> mr_fill_mroute()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrt | 4096-ptr_max |
| PARAM_VALUE | 0 | mrt->mfc_cache_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mrt->mfc_cache_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mrt->mfc_hash.ht.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 0 | mrt->mfc_hash.ht.tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | mrt->ops.rht_params | 4096-ptr_max |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->next | 0 |
| PARAM_VALUE | 1 | skb->prev | 0 |
| PARAM_VALUE | 2 | c | 4096-ptr_max |
| PARAM_VALUE | 2 | c->free | 8836429127286489088 |
| PARAM_VALUE | 2 | c->list.next | 4096-ptr_max |
| PARAM_VALUE | 2 | c->mfc_parent | 0-31 |
| PARAM_VALUE | 2 | c->mfc_un.res.minvif | 0-32 |
| PARAM_VALUE | 2 | c->mfc_un.res.refcount.refs.counter | 1 |
| PARAM_VALUE | 3 | rtm | 4096-ptr_max |
| CAPPED_DATA | 0 | mrt->maxvif | 1 |
| CAPPED_DATA | 0 | mrt->mfc_hash.ht.tbl | 1 |
| DATA_SOURCE | 0 | mrt | $1 |
| DATA_SOURCE | 1 | skb | r __skb_dequeue |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | c->mfc_parent | 0-31 |
| USER_DATA | 3 | rtm->rtm_dst_len | 0-255 |
| USER_DATA | 3 | rtm->rtm_family | 0-255 |
| USER_DATA | 3 | rtm->rtm_flags | 0-u32max |
| USER_DATA | 3 | rtm->rtm_protocol | 0-255 |
| USER_DATA | 3 | rtm->rtm_scope | 0-255 |
| USER_DATA | 3 | rtm->rtm_src_len | 0-255 |
| USER_DATA | 3 | rtm->rtm_table | 0-255 |
| USER_DATA | 3 | rtm->rtm_tos | 0-255 |
| USER_DATA | 3 | rtm->rtm_type | 0-255 |
| USER_PTR | 3 | rtm | |
| LOCK2 | &net->ipv4.mfc_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct netns_ipv4)->mfc_mutex |
net/ipv4/ipmr.c ipmr_fill_mroute() -> mr_fill_mroute()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrt | 4096-ptr_max |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->data_len | 0 |
| PARAM_VALUE | 2 | c | 4096-ptr_max |
| PARAM_VALUE | 3 | rtm | 4096-ptr_max |
| PARAM_VALUE | 3 | rtm->rtm_dst_len | 32 |
| PARAM_VALUE | 3 | rtm->rtm_family | 128 |
| PARAM_VALUE | 3 | rtm->rtm_flags | 0 |
| PARAM_VALUE | 3 | rtm->rtm_protocol | 4,17 |
| PARAM_VALUE | 3 | rtm->rtm_scope | 0 |
| PARAM_VALUE | 3 | rtm->rtm_src_len | 32 |
| PARAM_VALUE | 3 | rtm->rtm_tos | 0 |
| PARAM_VALUE | 3 | rtm->rtm_type | 5 |
| BUF_SIZE | 0 | mrt | (-1),4288 |
| BUF_SIZE | 0 | mrt | (-1),4288 |
| BUF_SIZE | 1 | skb | (-1)-s32max |
| BUF_SIZE | 1 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | mrt | $0 |
| DATA_SOURCE | 1 | skb | $1 |
| DATA_SOURCE | 3 | rtm | r nlmsg_data |
| FUZZY_MAX | 3 | rtm->rtm_protocol | 17 |
| BIT_INFO | 3 | rtm->rtm_protocol | 0x0,0x15 |
| HARD_MAX | 3 | rtm->rtm_protocol | 17 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | mrt->mroute_sk->sk_receive_queue.prev->csum_offset | 0-u16max |
| HOST_DATA | 0 | mrt->mroute_sk->sk_receive_queue.prev->next->csum_offset | 0-u16max |
| HOST_DATA | 0 | mrt->mroute_sk->sk_receive_queue.prev->next->tstamp | 500000002-4294967299794967295[c] |
| HOST_DATA | 0 | mrt->mroute_sk->sk_receive_queue.prev->next->users.refs.counter | s32min-0,2-s32max |
| HOST_DATA | 0 | mrt->mroute_sk->sk_receive_queue.prev->tstamp | 500000002-4294967299794967295[c] |
| HOST_DATA | 0 | mrt->mroute_sk->sk_receive_queue.prev->users.refs.counter | s32min-0,2-s32max |
| USER_DATA | 0 | mrt->id | 1-255[c] |
| USER_DATA | 2 | c->mfc_parent | 0-31 |
| USER_DATA | 3 | rtm->rtm_table | 1-255[c] |
| USER_PTR | 3 | rtm | |
| HALF_LOCKED2 | rcu_read |
net/ipv4/ipmr.c ipmr_get_route() -> mr_fill_mroute()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mrt | 4096-ptr_max |
| PARAM_VALUE | 0 | mrt->id | 253 |
| PARAM_VALUE | 0 | mrt->mfc_hash.ht.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 0 | mrt->ops.rht_params | 4096-ptr_max |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->_skb_refdst | 0,4096-18446744073709547521 |
| PARAM_VALUE | 1 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->data_len | 0 |
| PARAM_VALUE | 1 | skb->protocol | 2048 |
| PARAM_VALUE | 2 | c | 1-u64max |
| PARAM_VALUE | 3 | rtm | 4096-ptr_max |
| PARAM_VALUE | 3 | rtm->rtm_dst_len | 32 |
| PARAM_VALUE | 3 | rtm->rtm_family | 2 |
| PARAM_VALUE | 3 | rtm->rtm_flags | 0,256-u32max |
| PARAM_VALUE | 3 | rtm->rtm_protocol | 0 |
| PARAM_VALUE | 3 | rtm->rtm_scope | 0 |
| PARAM_VALUE | 3 | rtm->rtm_src_len | 0,32 |
| BUF_SIZE | 1 | skb | 3776 |
| BUF_SIZE | 1 | skb | 3776 |
| DATA_SOURCE | 0 | mrt | r __ipmr_get_table |
| DATA_SOURCE | 1 | skb | $1 |
| DATA_SOURCE | 3 | rtm | $4 |
| FUZZY_MAX | 3 | rtm->rtm_src_len | 32 |
| BIT_INFO | 3 | rtm->rtm_flags | 0x200,0xffff0300 |
| BIT_INFO | 3 | rtm->rtm_src_len | 0x0,0x20 |
| HARD_MAX | 3 | rtm->rtm_src_len | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 3 | rtm | |
| LOCK2 | rcu_read | ||
| 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 &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |