Defined in 3 files as a function:

Referenced in 3 files:

Smatch caller information:

net/ipv4/netfilter/ip_tables.c __do_replace() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 e unit_byte

net/ipv4/netfilter/ip_tables.c __ipt_unregister_table() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
STR_LEN 0 e 3,6,8
STR_LEN 1 net 3,6,8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 e unit_byte
HALF_LOCKED2 global &pernet_ops_rwsem

net/ipv4/netfilter/ip_tables.c compat_do_replace() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 e->comefrom 0-u32max[u]
USER_DATA 0 e->counters.bcnt 0-u64max[u]
USER_DATA 0 e->counters.pcnt 0-u64max[u]
USER_DATA 0 e->ip.dmsk.s_addr 0-u32max[u]
USER_DATA 0 e->ip.dst.s_addr 0-u32max[u]
USER_DATA 0 e->ip.flags 0-255[u]
USER_DATA 0 e->ip.invflags 0-255[u]
USER_DATA 0 e->ip.proto 0-u16max[u]
USER_DATA 0 e->ip.smsk.s_addr 0-u32max[u]
USER_DATA 0 e->ip.src.s_addr 0-u32max[u]
USER_DATA 0 e->next_offset 0-u16max[u]
USER_DATA 0 e->nfcache 0-u32max[u]
USER_DATA 0 e->target_offset 0-u16max[u]
UNITS 0 e unit_byte
USER_PTR 0 e

net/ipv4/netfilter/ip_tables.c do_replace() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
BUF_SIZE 0 e (-1)-536870847
BUF_SIZE 0 e (-1)-536870847
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 e->comefrom 0-u32max[u]
USER_DATA 0 e->counters.bcnt 0-u64max[u]
USER_DATA 0 e->counters.pcnt 0-u64max[u]
USER_DATA 0 e->ip.dmsk.s_addr 0-u32max[u]
USER_DATA 0 e->ip.dst.s_addr 0-u32max[u]
USER_DATA 0 e->ip.flags 0-255[u]
USER_DATA 0 e->ip.invflags 0-255[u]
USER_DATA 0 e->ip.proto 0-u16max[u]
USER_DATA 0 e->ip.smsk.s_addr 0-u32max[u]
USER_DATA 0 e->ip.src.s_addr 0-u32max[u]
USER_DATA 0 e->next_offset 0-u16max[u]
USER_DATA 0 e->nfcache 0-u32max[u]
USER_DATA 0 e->target_offset 0-u16max[u]
UNITS 0 e unit_byte
USER_PTR 0 e

net/ipv4/netfilter/ip_tables.c ipt_register_table() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
BUF_SIZE 0 e (-1)-536870847
BUF_SIZE 0 e (-1)-536870847
BUF_SIZE 1 net (-1),1-s32max
BUF_SIZE 1 net (-1),1-s32max
BUF_SIZE 1 net->key_domain (-1),24
BUF_SIZE 1 net->ucounts (-1),184
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 e unit_byte

net/ipv4/netfilter/ip_tables.c translate_table() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
BUF_SIZE 0 e 0-536870847
BUF_SIZE 0 e 0-536870847
BUF_SIZE 1 net (-1),1-s32max
BUF_SIZE 1 net (-1),1-s32max
BUF_SIZE 1 net->key_domain (-1),24
BUF_SIZE 1 net->ucounts (-1),184
CAPPED_DATA 0 e 1
DATA_SOURCE 0 e $2
DATA_SOURCE 1 net $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 e->comefrom 0-u32max[u]
USER_DATA 0 e->counters.bcnt 0-u64max[u]
USER_DATA 0 e->counters.pcnt 0-u64max[u]
USER_DATA 0 e->ip.dmsk.s_addr 0-u32max[u]
USER_DATA 0 e->ip.dst.s_addr 0-u32max[u]
USER_DATA 0 e->ip.flags 0-255[u]
USER_DATA 0 e->ip.invflags 0-255[u]
USER_DATA 0 e->ip.proto 0-u16max[u]
USER_DATA 0 e->ip.smsk.s_addr 0-u32max[u]
USER_DATA 0 e->ip.src.s_addr 0-u32max[u]
USER_DATA 0 e->next_offset 0-u16max[u]
USER_DATA 0 e->nfcache 0-u32max[u]
USER_DATA 0 e->target_offset 0-u16max[u]
UNITS 0 e unit_byte
USER_PTR 0 e

net/ipv6/netfilter/ip6_tables.c __do_replace() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 e unit_byte

net/ipv6/netfilter/ip6_tables.c __ip6t_unregister_table() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
STR_LEN 0 e 3,6,8
STR_LEN 1 net 3,6,8
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 e unit_byte
HALF_LOCKED2 global &pernet_ops_rwsem

net/ipv6/netfilter/ip6_tables.c compat_do_replace() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 e->comefrom 0-u32max[u]
USER_DATA 0 e->counters.bcnt 0-u64max[u]
USER_DATA 0 e->counters.pcnt 0-u64max[u]
USER_DATA 0 e->ipv6.flags 0-255[u]
USER_DATA 0 e->ipv6.invflags 0-255[u]
USER_DATA 0 e->ipv6.proto 0-u16max[u]
USER_DATA 0 e->ipv6.tos 0-255[u]
USER_DATA 0 e->next_offset 0-u16max[u]
USER_DATA 0 e->nfcache 0-u32max[u]
USER_DATA 0 e->target_offset 0-u16max[u]
UNITS 0 e unit_byte
USER_PTR 0 e

net/ipv6/netfilter/ip6_tables.c do_replace() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
BUF_SIZE 0 e (-1)-536870847
BUF_SIZE 0 e (-1)-536870847
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 e->comefrom 0-u32max[u]
USER_DATA 0 e->counters.bcnt 0-u64max[u]
USER_DATA 0 e->counters.pcnt 0-u64max[u]
USER_DATA 0 e->ipv6.flags 0-255[u]
USER_DATA 0 e->ipv6.invflags 0-255[u]
USER_DATA 0 e->ipv6.proto 0-u16max[u]
USER_DATA 0 e->ipv6.tos 0-255[u]
USER_DATA 0 e->next_offset 0-u16max[u]
USER_DATA 0 e->nfcache 0-u32max[u]
USER_DATA 0 e->target_offset 0-u16max[u]
UNITS 0 e unit_byte
USER_PTR 0 e

net/ipv6/netfilter/ip6_tables.c ip6t_register_table() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
BUF_SIZE 0 e (-1)-536870847
BUF_SIZE 0 e (-1)-536870847
BUF_SIZE 1 net (-1),1-s32max
BUF_SIZE 1 net (-1),1-s32max
BUF_SIZE 1 net->key_domain (-1),24
BUF_SIZE 1 net->ucounts (-1),184
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 e unit_byte

net/ipv6/netfilter/ip6_tables.c translate_table() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
BUF_SIZE 0 e 0-536870847
BUF_SIZE 0 e 0-536870847
BUF_SIZE 1 net (-1),1-s32max
BUF_SIZE 1 net (-1),1-s32max
BUF_SIZE 1 net->key_domain (-1),24
BUF_SIZE 1 net->ucounts (-1),184
CAPPED_DATA 0 e 1
DATA_SOURCE 0 e $2
DATA_SOURCE 1 net $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 e->comefrom 0-u32max[u]
USER_DATA 0 e->counters.bcnt 0-u64max[u]
USER_DATA 0 e->counters.pcnt 0-u64max[u]
USER_DATA 0 e->ipv6.flags 0-255[u]
USER_DATA 0 e->ipv6.invflags 0-255[u]
USER_DATA 0 e->ipv6.proto 0-u16max[u]
USER_DATA 0 e->ipv6.tos 0-255[u]
USER_DATA 0 e->next_offset 0-u16max[u]
USER_DATA 0 e->nfcache 0-u32max[u]
USER_DATA 0 e->target_offset 0-u16max[u]
UNITS 0 e unit_byte
USER_PTR 0 e

net/ipv4/netfilter/arp_tables.c __arpt_unregister_table() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
STR_LEN 0 e 6
STR_LEN 1 net 6
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 e unit_byte
LOCK2 global &pernet_ops_rwsem
HALF_LOCKED2 &pool->lock

net/ipv4/netfilter/arp_tables.c __do_replace() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 e unit_byte

net/ipv4/netfilter/arp_tables.c arpt_register_table() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
BUF_SIZE 0 e (-1)-536870847
BUF_SIZE 0 e (-1)-536870847
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 e unit_byte

net/ipv4/netfilter/arp_tables.c compat_do_replace() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 e->arp.arhln 0-255[u]
USER_DATA 0 e->arp.arhln_mask 0-255[u]
USER_DATA 0 e->arp.arhrd 0-u16max[u]
USER_DATA 0 e->arp.arhrd_mask 0-u16max[u]
USER_DATA 0 e->arp.arpop 0-u16max[u]
USER_DATA 0 e->arp.arpop_mask 0-u16max[u]
USER_DATA 0 e->arp.arpro 0-u16max[u]
USER_DATA 0 e->arp.arpro_mask 0-u16max[u]
USER_DATA 0 e->arp.flags 0-255[u]
USER_DATA 0 e->arp.invflags 0-u16max[u]
USER_DATA 0 e->arp.smsk.s_addr 0-u32max[u]
USER_DATA 0 e->arp.src.s_addr 0-u32max[u]
USER_DATA 0 e->arp.tgt.s_addr 0-u32max[u]
USER_DATA 0 e->arp.tmsk.s_addr 0-u32max[u]
USER_DATA 0 e->comefrom 0-u32max[u]
USER_DATA 0 e->counters.bcnt 0-u64max[u]
USER_DATA 0 e->counters.pcnt 0-u64max[u]
USER_DATA 0 e->next_offset 0-u16max[u]
USER_DATA 0 e->target_offset 0-u16max[u]
UNITS 0 e unit_byte
USER_PTR 0 e

net/ipv4/netfilter/arp_tables.c do_replace() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
BUF_SIZE 0 e (-1)-536870847
BUF_SIZE 0 e (-1)-536870847
CAPPED_DATA 0 e 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 e->arp.arhln 0-255[u]
USER_DATA 0 e->arp.arhln_mask 0-255[u]
USER_DATA 0 e->arp.arhrd 0-u16max[u]
USER_DATA 0 e->arp.arhrd_mask 0-u16max[u]
USER_DATA 0 e->arp.arpop 0-u16max[u]
USER_DATA 0 e->arp.arpop_mask 0-u16max[u]
USER_DATA 0 e->arp.arpro 0-u16max[u]
USER_DATA 0 e->arp.arpro_mask 0-u16max[u]
USER_DATA 0 e->arp.flags 0-255[u]
USER_DATA 0 e->arp.invflags 0-u16max[u]
USER_DATA 0 e->arp.smsk.s_addr 0-u32max[u]
USER_DATA 0 e->arp.src.s_addr 0-u32max[u]
USER_DATA 0 e->arp.tgt.s_addr 0-u32max[u]
USER_DATA 0 e->arp.tmsk.s_addr 0-u32max[u]
USER_DATA 0 e->comefrom 0-u32max[u]
USER_DATA 0 e->counters.bcnt 0-u64max[u]
USER_DATA 0 e->counters.pcnt 0-u64max[u]
USER_DATA 0 e->next_offset 0-u16max[u]
USER_DATA 0 e->target_offset 0-u16max[u]
UNITS 0 e unit_byte
USER_PTR 0 e

net/ipv4/netfilter/arp_tables.c translate_table() -> cleanup_entry()

Type Parameter Key Value
PARAM_VALUE 0 e 0-18446744073709547519
PARAM_VALUE 0 e->elems->u.kernel.match_size 0-u16max
PARAM_VALUE 0 e->elems->u.match_size 0-u16max
PARAM_VALUE 0 e->elems->u.user.match_size 0-u16max
PARAM_VALUE 0 e->elems->u.user.revision 0-255
BUF_SIZE 0 e 0-536870847
BUF_SIZE 0 e 0-536870847
CAPPED_DATA 0 e 1
DATA_SOURCE 0 e $2
DATA_SOURCE 1 net $0
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 e->arp.arhln 0-255[u]
USER_DATA 0 e->arp.arhln_mask 0-255[u]
USER_DATA 0 e->arp.arhrd 0-u16max[u]
USER_DATA 0 e->arp.arhrd_mask 0-u16max[u]
USER_DATA 0 e->arp.arpop 0-u16max[u]
USER_DATA 0 e->arp.arpop_mask 0-u16max[u]
USER_DATA 0 e->arp.arpro 0-u16max[u]
USER_DATA 0 e->arp.arpro_mask 0-u16max[u]
USER_DATA 0 e->arp.flags 0-255[u]
USER_DATA 0 e->arp.invflags 0-u16max[u]
USER_DATA 0 e->arp.smsk.s_addr 0-u32max[u]
USER_DATA 0 e->arp.src.s_addr 0-u32max[u]
USER_DATA 0 e->arp.tgt.s_addr 0-u32max[u]
USER_DATA 0 e->arp.tmsk.s_addr 0-u32max[u]
USER_DATA 0 e->comefrom 0-u32max[u]
USER_DATA 0 e->counters.bcnt 0-u64max[u]
USER_DATA 0 e->counters.pcnt 0-u64max[u]
USER_DATA 0 e->next_offset 0-u16max[u]
USER_DATA 0 e->target_offset 0-u16max[u]
UNITS 0 e unit_byte
USER_PTR 0 e