Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/fib_rules.c fib_delrule() -> fib_nl2rule()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | nlh | 4096-ptr_max |
| PARAM_VALUE | 1 | nlh->nlmsg_len | 28-u32max |
| PARAM_VALUE | 2 | extack | 0,4971238048455385088 |
| PARAM_VALUE | 2 | extack->bad_attr | 0 |
| PARAM_VALUE | 2 | extack->policy | 0 |
| PARAM_VALUE | 3 | ops | 4096-ptr_max |
| PARAM_VALUE | 3 | ops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 3 | ops->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 3 | ops->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 4 | (*tb).nla_len | 0 |
| PARAM_VALUE | 4 | (*tb).nla_type | 0 |
| PARAM_VALUE | 5 | rule | 294392286523162624 |
| PARAM_VALUE | 5 | *rule | 0 |
| PARAM_VALUE | 6 | user_priority | 4832975565342167040 |
| PARAM_VALUE | 6 | *user_priority | 0 |
| BUF_SIZE | 1 | nlh | (-1),1-s32max |
| BUF_SIZE | 1 | nlh | (-1),1-s32max |
| BUF_SIZE | 4 | tb | 248 |
| CAPPED_DATA | 3 | ops->family | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | nlh | $2 |
| DATA_SOURCE | 2 | extack | $3 |
| DATA_SOURCE | 3 | ops | r lookup_rules_ops |
| NOSPEC | 1 | nlh->nlmsg_len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | nlh->nlmsg_flags | 1-u16max[u] |
| USER_DATA | 1 | nlh->nlmsg_len | 28-s32max[c] |
| USER_DATA | 1 | nlh->nlmsg_pid | 0-u32max[u] |
| USER_DATA | 1 | nlh->nlmsg_seq | 0-u32max[u] |
| USER_DATA | 1 | nlh->nlmsg_type | 16-123[u] |
| UNITS | 1 | nlh | unit_byte |
| USER_PTR | 1 | nlh | |
| 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 |
net/core/fib_rules.c fib_newrule() -> fib_nl2rule()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | nlh | 4096-ptr_max |
| PARAM_VALUE | 1 | nlh->nlmsg_len | 28-u32max |
| PARAM_VALUE | 2 | extack | 0,4971238048455385088 |
| PARAM_VALUE | 2 | extack->bad_attr | 0 |
| PARAM_VALUE | 2 | extack->policy | 0 |
| PARAM_VALUE | 3 | ops | 4096-ptr_max |
| PARAM_VALUE | 3 | ops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 3 | ops->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 3 | ops->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 4 | (*tb).nla_len | 0 |
| PARAM_VALUE | 4 | (*tb).nla_type | 0 |
| PARAM_VALUE | 5 | rule | 6836462016435335168 |
| PARAM_VALUE | 5 | *rule | 0 |
| PARAM_VALUE | 6 | user_priority | 8806328554200788992 |
| PARAM_VALUE | 6 | *user_priority | 0 |
| BUF_SIZE | 1 | nlh | (-1),1-s32max |
| BUF_SIZE | 1 | nlh | (-1),1-s32max |
| BUF_SIZE | 4 | tb | 248 |
| CAPPED_DATA | 3 | ops->family | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | nlh | $2 |
| DATA_SOURCE | 2 | extack | $3 |
| DATA_SOURCE | 3 | ops | r lookup_rules_ops |
| NOSPEC | 1 | nlh->nlmsg_len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | nlh->nlmsg_flags | 1-u16max[u] |
| USER_DATA | 1 | nlh->nlmsg_len | 28-s32max[c] |
| USER_DATA | 1 | nlh->nlmsg_pid | 0-u32max[u] |
| USER_DATA | 1 | nlh->nlmsg_seq | 0-u32max[u] |
| USER_DATA | 1 | nlh->nlmsg_type | 16-123[u] |
| UNITS | 1 | nlh | unit_byte |
| USER_PTR | 1 | nlh | |
| 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 |