Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/netfilter/nf_tables_api.c __nft_unregister_flowtable_net_hooks() -> nft_unregister_flowtable_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | flowtable->data.flow_block_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | flowtable->data.flow_block_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | flowtable->data.type->setup | 0,4096-ptr_max |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | flowtable | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | &nft_net->commit_mutex |
net/netfilter/nf_tables_api.c nft_flowtable_event() -> nft_unregister_flowtable_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flowtable->data.flow_block_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | flowtable->data.flow_block_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | ops | 4096-ptr_max |
| PARAM_VALUE | 2 | ops->dev | 4096-ptr_max |
| CAPPED_DATA | 1 | &flowtable->hook_list | 1 |
| CAPPED_DATA | 2 | ops->dev | 1 |
| DATA_SOURCE | 1 | flowtable | $2 |
| DATA_SOURCE | 2 | ops | r nft_hook_find_ops |
| NOCHECK_CALL | |||
| LOCK2 | &nft_net->commit_mutex | ||
| TYPE_LOCK | (struct nftables_pernet)->commit_mutex |
net/netfilter/nf_tables_api.c nft_flowtable_unregister_trans_hook() -> nft_unregister_flowtable_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | net->nft.base_seq | 1-u32max |
| PARAM_VALUE | 0 | net->nft.gencursor | 0-1 |
| PARAM_VALUE | 1 | flowtable->data.flow_block_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | flowtable->data.flow_block_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | flowtable->data.type->setup | 0,4096-ptr_max |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | flowtable | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nft_flowtable_update() -> nft_unregister_flowtable_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | flowtable | 4096-ptr_max |
| PARAM_VALUE | 1 | flowtable->data.flow_block_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | flowtable->data.flow_block_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | flowtable->data.type->hook | 0,4096-ptr_max |
| PARAM_VALUE | 1 | flowtable->data.type->owner | 0 |
| PARAM_VALUE | 1 | flowtable->data.type->setup | 0,4096-ptr_max |
| PARAM_VALUE | 1 | flowtable->name | 4096-ptr_max |
| DATA_SOURCE | 1 | flowtable | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nft_register_flowtable_net_hooks() -> nft_unregister_flowtable_ops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | flowtable | 4096-ptr_max |
| PARAM_VALUE | 1 | flowtable->data.flow_block_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | flowtable->data.flow_block_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | flowtable->data.type->hook | 0,4096-ptr_max |
| PARAM_VALUE | 1 | flowtable->data.type->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | flowtable->data.type->setup | 0,4096-ptr_max |
| PARAM_VALUE | 1 | flowtable->name | 4096-ptr_max |
| BUF_SIZE | 1 | flowtable | (-1),896 |
| BUF_SIZE | 1 | flowtable | (-1),896 |
| BUF_SIZE | 1 | flowtable->name | (-1),1-65536 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | flowtable | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | flowtable->data.flags | 0-2 |
| USER_DATA | 1 | flowtable->data.priority | s32min-s32max |
| USER_DATA | 1 | flowtable->data.rhashtable.key_len | 0-64[c] |
| USER_DATA | 1 | flowtable->hooknum | 0 |
| USER_DATA | 1 | *flowtable->name | 0-255 |
| UNITS | 0 | net | unit_byte |
| USER_PTR | 1 | flowtable->name | |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |