Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/ipv6/route.c ip6_route_check_nh() -> ip6_nh_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 cfg 4096-ptr_max
PARAM_VALUE 1 cfg->fc_dst_len s32min-128
PARAM_VALUE 1 cfg->fc_flags 2-u32max
PARAM_VALUE 1 cfg->fc_is_fdb 0
PARAM_VALUE 1 cfg->fc_nh_id 0
PARAM_VALUE 1 cfg->fc_nlinfo.nlh 0,4096-ptr_max
PARAM_VALUE 1 cfg->fc_table 1-u32max
PARAM_VALUE 1 cfg->fc_type 0-11
PARAM_VALUE 2 gw_addr 4096-ptr_max
PARAM_VALUE 3 tbid 1-u32max
PARAM_VALUE 4 flags 1
PARAM_VALUE 5 res 7594205183180591104
PARAM_VALUE 5 res->f6i 0
PARAM_VALUE 5 res->fib6_flags 0
PARAM_VALUE 5 res->fib6_type 0
PARAM_VALUE 5 res->nh 0
PARAM_VALUE 5 res->rt6 0
BUF_SIZE 2 gw_addr 16
CAPPED_DATA 1 cfg->fc_ifindex 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
PARAM_COMPARE 1 &cfg->fc_gateway == $2
BIT_INFO 1 cfg->fc_flags 0x2,0xfffffdfb
NOSPEC 1 cfg->fc_ifindex
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 cfg->fc_dst_len 0-128
USER_DATA 1 cfg->fc_flags 2-u32max[c]
USER_DATA 1 cfg->fc_ifindex s32min-(-1),1-s32max[c]
UNITS 0 net unit_byte
USER_PTR 1 cfg->fc_encap
USER_PTR 1 cfg->fc_mp
USER_PTR 1 cfg->fc_mx
USER_PTR 1 cfg->fc_nlinfo.nlh
LOCK2 rcu_read
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 0 &net->rtnl_mutex

net/ipv6/route.c ip6_route_check_nh_onlink() -> ip6_nh_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 cfg 4096-ptr_max
PARAM_VALUE 1 cfg->fc_dst_len s32min-128
PARAM_VALUE 1 cfg->fc_flags 4-u32max
PARAM_VALUE 1 cfg->fc_is_fdb 0
PARAM_VALUE 1 cfg->fc_nh_id 0
PARAM_VALUE 1 cfg->fc_nlinfo.nlh 0,4096-ptr_max
PARAM_VALUE 1 cfg->fc_type 0-11
PARAM_VALUE 2 gw_addr 4096-ptr_max
PARAM_VALUE 3 tbid 1-u32max
PARAM_VALUE 4 flags 0
PARAM_VALUE 5 res 168347169887920128
PARAM_VALUE 5 res->f6i 0
PARAM_VALUE 5 res->fib6_flags 0
PARAM_VALUE 5 res->fib6_type 0
PARAM_VALUE 5 res->nh 0
PARAM_VALUE 5 res->rt6 0
BUF_SIZE 2 gw_addr 16
CAPPED_DATA 1 cfg->fc_ifindex 1
DATA_SOURCE 0 net $0
DATA_SOURCE 1 cfg $1
FUZZY_MAX 3 tbid 254
PARAM_COMPARE 1 &cfg->fc_gateway == $2
BIT_INFO 1 cfg->fc_flags 0x6,0xfffffdff
NOSPEC 1 cfg->fc_ifindex
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 cfg->fc_dst_len 0-128
USER_DATA 1 cfg->fc_flags 4-u32max[c]
USER_DATA 1 cfg->fc_ifindex s32min-(-1),1-s32max[c]
UNITS 0 net unit_byte
USER_PTR 1 cfg->fc_encap
USER_PTR 1 cfg->fc_mp
USER_PTR 1 cfg->fc_mx
USER_PTR 1 cfg->fc_nlinfo.nlh
LOCK2 rcu_read
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 0 &net->rtnl_mutex