Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/ipv4/fib_semantics.c fib_add_multipath() -> fib_add_nexthop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 3 | rt_family | 2 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ipv4/fib_semantics.c nexthop_mpath_fill_node() -> fib_add_nexthop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | nhc | 4096-ptr_max |
| PARAM_VALUE | 2 | nh_weight | 0-u16max |
| PARAM_VALUE | 3 | rt_family | 2 |
| PARAM_VALUE | 4 | nh_tclassid | 0 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 1 | nhc | 80 |
| DATA_SOURCE | 0 | skb | $0 |
| DATA_SOURCE | 3 | rt_family | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ipv6/route.c nexthop_mpath_fill_node() -> fib_add_nexthop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 0 | skb->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | skb->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | skb->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 1 | nhc | 4096-ptr_max |
| PARAM_VALUE | 2 | nh_weight | 0-u16max |
| PARAM_VALUE | 3 | rt_family | 10 |
| PARAM_VALUE | 4 | nh_tclassid | 0 |
| BUF_SIZE | 0 | skb | (-1)-0,4-s32max |
| BUF_SIZE | 0 | skb | (-1)-0,4-s32max |
| BUF_SIZE | 1 | nhc | 80 |
| DATA_SOURCE | 0 | skb | $0 |
| DATA_SOURCE | 3 | rt_family | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | &nh->lock | ||
| HALF_LOCKED2 | &table->tb6_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ipv6/route.c rt6_fill_node() -> fib_add_nexthop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 3 | rt_family | 10 |
| PARAM_VALUE | 4 | nh_tclassid | 0 |
| DATA_SOURCE | 0 | skb | $1 |
net/ipv6/route.c rt6_fill_node() -> fib_add_nexthop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 3 | rt_family | 10 |
| PARAM_VALUE | 4 | nh_tclassid | 0 |
| DATA_SOURCE | 0 | skb | $1 |
| LOCK2 | rcu_read |