Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/mpls/af_mpls.c mpls_dump_route() -> nla_put_labels()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 1 |
| PARAM_VALUE | 2 | labels | 1 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 3 | label | 4 |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | skb->sk->sk_backlog.len | |
| HALF_LOCKED2 | &net->mpls.platform_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/mpls/af_mpls.c mpls_dump_route() -> nla_put_labels()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 19 |
| PARAM_VALUE | 2 | labels | 1-255 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | skb->sk->sk_backlog.len | |
| HALF_LOCKED2 | &net->mpls.platform_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/mpls/af_mpls.c mpls_dump_route() -> nla_put_labels()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 19 |
| PARAM_VALUE | 2 | labels | 1-255 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | skb->sk->sk_backlog.len | |
| HALF_LOCKED2 | &net->mpls.platform_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/mpls/af_mpls.c mpls_getroute() -> nla_put_labels()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 0 | skb->protocol | 34887 |
| PARAM_VALUE | 1 | attrtype | 1 |
| PARAM_VALUE | 2 | labels | 1 |
| BUF_SIZE | 0 | skb | 3776 |
| BUF_SIZE | 0 | skb | 3776 |
| BUF_SIZE | 3 | label | 4 |
| DATA_SOURCE | 0 | skb | r alloc_skb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &net->mpls.platform_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 &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct netns_mpls)->platform_mutex |
net/mpls/af_mpls.c mpls_getroute() -> nla_put_labels()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 0 | skb->protocol | 34887 |
| PARAM_VALUE | 1 | attrtype | 19 |
| PARAM_VALUE | 2 | labels | 1-255 |
| BUF_SIZE | 0 | skb | 3776 |
| BUF_SIZE | 0 | skb | 3776 |
| DATA_SOURCE | 0 | skb | r alloc_skb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &net->mpls.platform_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 &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct netns_mpls)->platform_mutex |
net/mpls/mpls_iptunnel.c mpls_fill_encap_info() -> nla_put_labels()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 1 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |