Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/fib_rules.c fib_delrule() -> fib_nl2rule_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nlrule | 4096-ptr_max |
| PARAM_VALUE | 0 | nlrule->fr_net | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | nlrule->refcnt.refs.counter | 1 |
| PARAM_VALUE | 1 | ops | 4096-ptr_max |
| PARAM_VALUE | 1 | ops->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ops->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ops->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | ops->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | ops->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ops->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | ops->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | ops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ops->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 1 | ops->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 1 | ops->rule_size | 0-4000000 |
| PARAM_VALUE | 2 | (*tb).nla_len | 0 |
| PARAM_VALUE | 2 | (*tb).nla_type | 0 |
| PARAM_VALUE | 3 | extack | 0,4971238048455385088 |
| PARAM_VALUE | 3 | extack->bad_attr | 0 |
| PARAM_VALUE | 3 | extack->policy | 0 |
| BUF_SIZE | 2 | tb | 248 |
| CAPPED_DATA | 1 | ops->family | 1 |
| CAPPED_DATA | 1 | &ops->lock | 1 |
| DATA_SOURCE | 1 | ops | r lookup_rules_ops |
| DATA_SOURCE | 3 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | nlrule->action | 0-1,3-255 |
| USER_DATA | 0 | nlrule->dport_range.end | 1-65534[c] |
| USER_DATA | 0 | nlrule->dport_range.start | 1-65534[c] |
| USER_DATA | 0 | nlrule->flags | 0-4294967295 |
| USER_DATA | 0 | nlrule->sport_range.end | 1-65534[c] |
| USER_DATA | 0 | nlrule->sport_range.start | 1-65534[c] |
| USER_DATA | 0 | nlrule->table | 0-255 |
| LOCK2 | 1 | &ops->lock | |
| 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 fib_rules_ops)->lock |
net/core/fib_rules.c fib_newrule() -> fib_nl2rule_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nlrule | 4096-ptr_max |
| PARAM_VALUE | 0 | nlrule->fr_net | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | nlrule->refcnt.refs.counter | 1 |
| PARAM_VALUE | 1 | ops | 4096-ptr_max |
| PARAM_VALUE | 1 | ops->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ops->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ops->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | ops->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | ops->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ops->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | ops->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | ops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ops->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 1 | ops->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 1 | ops->rule_size | 0-4000000 |
| PARAM_VALUE | 2 | (*tb).nla_len | 0 |
| PARAM_VALUE | 2 | (*tb).nla_type | 0 |
| PARAM_VALUE | 3 | extack | 0,4971238048455385088 |
| PARAM_VALUE | 3 | extack->bad_attr | 0 |
| PARAM_VALUE | 3 | extack->policy | 0 |
| BUF_SIZE | 2 | tb | 248 |
| CAPPED_DATA | 1 | ops->family | 1 |
| CAPPED_DATA | 1 | &ops->lock | 1 |
| DATA_SOURCE | 1 | ops | r lookup_rules_ops |
| DATA_SOURCE | 3 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | nlrule->action | 0-1,3-255 |
| USER_DATA | 0 | nlrule->dport_range.end | 1-65534[c] |
| USER_DATA | 0 | nlrule->dport_range.start | 1-65534[c] |
| USER_DATA | 0 | nlrule->flags | 0-4294967295 |
| USER_DATA | 0 | nlrule->sport_range.end | 1-65534[c] |
| USER_DATA | 0 | nlrule->sport_range.start | 1-65534[c] |
| USER_DATA | 0 | nlrule->table | 0-255 |
| LOCK2 | 1 | &ops->lock | |
| HALF_LOCKED2 | &net->rtnl_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 fib_rules_ops)->lock |