Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/ipv4/nexthop.c nh_create_ipv4() -> fib_check_nh()

Type Parameter Key Value
PARAM_VALUE 0 net->rtnl_mutex.dep_map->name 0-255
PARAM_VALUE 0 net->rtnl_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 net->rtnl_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 net->rtnl_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 net->rtnl_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 nh 4096-ptr_max
PARAM_VALUE 1 nh->nh_common.nhc_family 2
PARAM_VALUE 1 nh->nh_common.nhc_flags 0-6
PARAM_VALUE 1 nh->nh_common.nhc_gw_family 0
PARAM_VALUE 1 nh->nh_common.nhc_lwtstate 4096-ptr_max
PARAM_VALUE 1 nh->nh_common.nhc_oif 0
PARAM_VALUE 1 nh->nh_common.nhc_pcpu_rth_output 4096-ptr_max
PARAM_VALUE 1 nh->nh_common.nhc_weight 1
PARAM_VALUE 1 nh->nh_tclassid 0
PARAM_VALUE 3 scope 0
PARAM_VALUE 4 extack 4971238048455385088
PARAM_VALUE 4 extack->bad_attr 0
PARAM_VALUE 4 extack->policy 0
PARAM_VALUE 4 *extack->_msg_buf 0-255
BUF_SIZE 1 nh 120
DATA_SOURCE 0 net $0
DATA_SOURCE 4 extack $4
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nh->nh_common.nhc_flags 0-6
USER_DATA 1 nh->nh_common.nhc_gw.ipv4 0-u32max
USER_DATA 1 nh->nh_common.nhc_oif 0
USER_DATA 1 nh->nh_common.nhc_weight 1
UNITS 0 net unit_byte
LOCK2 global &rtnl_mutex
LOCK2 0 &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 &rx_queue_mutex
TYPE_LOCK (struct net)->rtnl_mutex

net/ipv4/fib_semantics.c fib_create_info() -> fib_check_nh()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 nh->nh_common.nhc_family 2
PARAM_VALUE 1 nh->nh_common.nhc_weight 1-256
PARAM_VALUE 3 scope 0-253
PARAM_VALUE 4 extack 0,4971238048455385088
PARAM_VALUE 4 extack->bad_attr 0
PARAM_VALUE 4 extack->policy 0
PARAM_VALUE 4 *extack->_msg_buf 0-255
BUF_SIZE 1 nh 0-120
BUF_SIZE 1 nh 0-120
DATA_SOURCE 4 extack $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 nh->nh_common.nhc_flags 0-255
USER_DATA 1 nh->nh_common.nhc_gw.ipv4 0-u32max
USER_DATA 1 nh->nh_common.nhc_oif s32min-s32max
USER_DATA 1 nh->nh_common.nhc_weight 1
USER_DATA 3 scope 0
UNITS 0 net unit_byte
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex