Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/mpls/af_mpls.c mpls_net_exit() -> mpls_rt_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rt->rt_nh->nh_flags | 0-4294967295 |
| PARAM_VALUE | 0 | rt->rt_nh->nh_labels | 0-255 |
| PARAM_VALUE | 0 | rt->rt_nh->nh_reserved1 | 0-255 |
| PARAM_VALUE | 0 | rt->rt_nh->nh_via_alen | 0-255 |
| PARAM_VALUE | 0 | rt->rt_nh->nh_via_table | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &net->mpls.platform_mutex | ||
| LOCK2 | global &pernet_ops_rwsem | ||
| TYPE_LOCK | (struct netns_mpls)->platform_mutex |
net/mpls/af_mpls.c mpls_route_add() -> mpls_rt_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rt | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh->nh_dev->ifindex | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | rt->rt_nh->nh_flags | 0-4294967295 |
| PARAM_VALUE | 0 | rt->rt_nh->nh_labels | 0-255 |
| PARAM_VALUE | 0 | rt->rt_nh->nh_via_alen | 0-255 |
| PARAM_VALUE | 0 | rt->rt_nh->nh_via_table | 0-255 |
| PARAM_VALUE | 0 | rt->rt_ttl_propagate | 0-2 |
| PARAM_VALUE | 0 | *rt->rt_nh->nh_label | 0-4294967295 |
| BUF_SIZE | 0 | rt | 32-4096 |
| BUF_SIZE | 0 | rt | 32-4096 |
| DATA_SOURCE | 0 | rt | r mpls_rt_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | rt->rt_nh_size | 0-255[c] |
| USER_DATA | 0 | rt->rt_protocol | 0-255 |
| LOCK2 | &net->mpls.platform_mutex | ||
| 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 | ||
| TYPE_LOCK | (struct netns_mpls)->platform_mutex |
net/mpls/af_mpls.c mpls_route_update() -> mpls_rt_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->mpls.platform_mutex | ||
| HALF_LOCKED2 | &net->mpls.platform_mutex | ||
| TYPE_LOCK | (struct netns_mpls)->platform_mutex |
net/mpls/af_mpls.c resize_platform_label_table() -> mpls_rt_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh->nh_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh->nh_dev->refcnt_tracker.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh->nh_dev_tracker | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh->nh_via_table | 2 |
| PARAM_VALUE | 0 | rt->rt_nhn | 1 |
| PARAM_VALUE | 0 | rt->rt_nhn_alive | 1 |
| PARAM_VALUE | 0 | rt->rt_payload_type | 6 |
| PARAM_VALUE | 0 | rt->rt_protocol | 2 |
| PARAM_VALUE | 0 | rt->rt_ttl_propagate | 0 |
| BUF_SIZE | 0 | rt | 0,32-4096 |
| BUF_SIZE | 0 | rt | 0,32-4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/mpls/af_mpls.c resize_platform_label_table() -> mpls_rt_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh->nh_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh->nh_dev_tracker | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh->nh_via_table | 2 |
| PARAM_VALUE | 0 | rt->rt_nhn | 1 |
| PARAM_VALUE | 0 | rt->rt_nhn_alive | 1 |
| PARAM_VALUE | 0 | rt->rt_payload_type | 4 |
| PARAM_VALUE | 0 | rt->rt_protocol | 2 |
| PARAM_VALUE | 0 | rt->rt_ttl_propagate | 0 |
| BUF_SIZE | 0 | rt | 0,32-4096 |
| BUF_SIZE | 0 | rt | 0,32-4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/mpls/af_mpls.c resize_platform_label_table() -> mpls_rt_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rt | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh->nh_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh->nh_dev_tracker | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rt->rt_nh->nh_via_table | 2 |
| PARAM_VALUE | 0 | rt->rt_nhn | 1 |
| PARAM_VALUE | 0 | rt->rt_nhn_alive | 1 |
| PARAM_VALUE | 0 | rt->rt_payload_type | 4 |
| PARAM_VALUE | 0 | rt->rt_protocol | 2 |
| PARAM_VALUE | 0 | rt->rt_ttl_propagate | 0 |
| BUF_SIZE | 0 | rt | 32-4096 |
| BUF_SIZE | 0 | rt | 32-4096 |
| DATA_SOURCE | 0 | rt | r mpls_rt_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |