Defined in 1 files as a function:
Referenced in 13 files:
- net/netfilter/nf_conntrack_core.c
- net/netfilter/nf_conntrack_labels.c, line 54
- net/netfilter/nf_conntrack_proto_gre.c, line 299
- net/netfilter/nf_conntrack_proto_sctp.c
- net/netfilter/nf_conntrack_proto_tcp.c
- net/netfilter/nf_conntrack_proto_udp.c, line 136
- net/netfilter/nf_synproxy_core.c
- net/netfilter/nft_ct.c
- net/netfilter/xt_CONNSECMARK.c, line 41
- net/netfilter/xt_connlabel.c, line 41
- net/netfilter/xt_connmark.c
- net/openvswitch/conntrack.c
- net/sched/act_ct.c, line 928
Smatch caller information:
net/sched/act_ct.c tcf_ct_act_set_mark() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 7 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| CAPPED_DATA | 1 | ct | 1 |
| DATA_SOURCE | 1 | ct | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nf_conntrack_proto_tcp.c nf_conntrack_tcp_packet() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 5 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ct->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ct->proto.tcp.last_dir | 0-1 |
| PARAM_VALUE | 1 | ct->proto.tcp.last_index | 0-5 |
| PARAM_VALUE | 1 | ct->proto.tcp.state | 0-9,12-255 |
| CAPPED_DATA | 1 | ct->ct_net.net | 1 |
| CAPPED_DATA | 1 | ct->proto.tcp.last_dir | 1 |
| DATA_SOURCE | 1 | ct | $0 |
| FUZZY_MAX | 1 | ct->proto.tcp.last_dir | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | ct->proto.tcp.last_end | 0-u32max[c] |
net/netfilter/nf_conntrack_proto_tcp.c nf_conntrack_tcp_packet() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ct->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ct->proto.tcp.last_dir | 0-1 |
| PARAM_VALUE | 1 | ct->proto.tcp.last_index | 0-5 |
| PARAM_VALUE | 1 | ct->proto.tcp.state | 0-9,12-255 |
| CAPPED_DATA | 1 | ct->ct_net.net | 1 |
| CAPPED_DATA | 1 | ct->proto.tcp.last_dir | 1 |
| DATA_SOURCE | 1 | ct | $0 |
| FUZZY_MAX | 1 | ct->proto.tcp.last_dir | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | ct->proto.tcp.last_end | 0-u32max[c] |
net/netfilter/nf_conntrack_proto_tcp.c nf_conntrack_tcp_set_closing() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 5 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ct->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ct->proto.tcp.state | 8 |
| DATA_SOURCE | 1 | ct | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
net/netfilter/xt_CONNSECMARK.c secmark_save() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 9 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->secmark | 1-u32max |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh |
net/openvswitch/conntrack.c ovs_ct_init_labels() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 10 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ct->master | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ct->master->ext | 0,4096-ptr_max |
| DATA_SOURCE | 1 | ct | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/openvswitch/conntrack.c ovs_ct_set_mark() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 7 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| DATA_SOURCE | 1 | ct | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nf_conntrack_proto_sctp.c nf_conntrack_sctp_packet() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 5 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ct->proto.sctp.state | 0-9,11-255 |
| PARAM_VALUE | 1 | ct->proto.sctp.vtag | 4096-ptr_max |
| DATA_SOURCE | 1 | ct | $0 |
| BIT_INFO | 1 | ct->proto.sctp.state | 0x0,0x7fffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 1 | &ct->lock | |
| TYPE_LOCK | (struct nf_conn)->lock |
net/netfilter/nf_conntrack_proto_sctp.c nf_conntrack_sctp_packet() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ct_net.net | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ct->proto.sctp.state | 4 |
| PARAM_VALUE | 1 | ct->proto.sctp.vtag | 4096-ptr_max |
| CAPPED_DATA | 1 | ct->ct_net.net | 1 |
| DATA_SOURCE | 1 | ct | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 1 | &ct->lock | |
| TYPE_LOCK | (struct nf_conn)->lock |
net/netfilter/nf_synproxy_core.c ipv4_synproxy_hook() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 11 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 0,4096-ptr_max |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_synproxy_core.c ipv4_synproxy_hook() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 11 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 0,4096-ptr_max |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_synproxy_core.c ipv4_synproxy_hook() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 8 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 0,4096-ptr_max |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_synproxy_core.c ipv6_synproxy_hook() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 11 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 0,4096-ptr_max |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_synproxy_core.c ipv6_synproxy_hook() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 11 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 0,4096-ptr_max |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_synproxy_core.c ipv6_synproxy_hook() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 8 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 0,4096-ptr_max |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/xt_connlabel.c connlabel_mt() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 10 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 4096-ptr_max |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/xt_connmark.c connmark_tg_shift() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 7 |
| PARAM_VALUE | 1 | ct | 8-u64max |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh |
net/netfilter/xt_connmark.c connmark_tg_shift() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 7 |
| PARAM_VALUE | 1 | ct | 8-u64max |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &table->lock | ||
| HALF_LOCKED2 | bh |
net/netfilter/nf_conntrack_proto_gre.c nf_conntrack_gre_packet() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| DATA_SOURCE | 1 | ct | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nft_ct.c nft_ct_set_eval() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 7 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| NOCHECK_CALL |
net/netfilter/nft_ct.c nft_ct_set_eval() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 9 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| NOCHECK_CALL |
net/netfilter/nf_conntrack_proto_udp.c nf_conntrack_udp_packet() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 0,4096-ptr_max |
| DATA_SOURCE | 1 | ct | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/netfilter/nf_conntrack_core.c __nf_conntrack_confirm() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 6 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ct->tuplehash | 4096-ptr_max |
| CAPPED_DATA | 1 | ct->ct_net.net | 1 |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_core.c __nf_conntrack_confirm() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 0-1 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ct->tuplehash | 4096-ptr_max |
| CAPPED_DATA | 1 | ct->ct_net.net | 1 |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| FUZZY_MAX | 0 | event | 1 |
| HARD_MAX | 0 | event | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_conntrack_core.c nf_conntrack_in() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 3 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | *ct->proto.sctp.init | 0-255 |
| PARAM_VALUE | 1 | *ct->proto.sctp.vtag | 0-4294967295 |
| DATA_SOURCE | 1 | ct | r nf_ct_get |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | ct->proto.tcp.last_end | 0-u32max[c] |
net/netfilter/nf_conntrack_labels.c nf_connlabels_replace() -> nf_conntrack_event_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 10 |
| PARAM_VALUE | 1 | ct | 4096-ptr_max |
| PARAM_VALUE | 1 | ct->ext | 4096-ptr_max |
| BUF_SIZE | 1 | ct | (-1)-s32max |
| BUF_SIZE | 1 | ct | (-1)-s32max |
| CAPPED_DATA | 1 | ct | 1 |
| DATA_SOURCE | 1 | ct | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |