Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/core/rtnetlink.c rtnl_fdb_del() -> (struct net_device_ops)->ndo_fdb_del()

Type Parameter Key Value
PARAM_VALUE 0 ndm 4096-ptr_max
PARAM_VALUE 0 ndm->ndm_ifindex s32min-(-1),1-s32max
PARAM_VALUE 1 tb 4096-ptr_max
PARAM_VALUE 1 (*tb).nla_len 0
PARAM_VALUE 1 (*tb).nla_type 0
PARAM_VALUE 2 dev 4096-ptr_max
PARAM_VALUE 2 dev->priv_flags 512-u32max
PARAM_VALUE 2 dev->type 1
PARAM_VALUE 4 vid 0-4094
PARAM_VALUE 5 notified 1186891264726278144
PARAM_VALUE 5 *notified 0
PARAM_VALUE 6 extack 4971238048455385088
PARAM_VALUE 6 extack->bad_attr 0
PARAM_VALUE 6 extack->policy 0
BUF_SIZE 1 tb 144
CAPPED_DATA 0 ndm->ndm_ifindex 1
CAPPED_DATA 2 dev->ifindex 1
DATA_SOURCE 0 ndm r nlmsg_data
DATA_SOURCE 2 dev r __dev_get_by_index
DATA_SOURCE 3 addr r nla_data
DATA_SOURCE 6 extack $2
MEM_ZERO 6 extack
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ndm->ndm_family 0-255
USER_DATA 0 ndm->ndm_flags 0-255
USER_DATA 0 ndm->ndm_ifindex s32min-(-1),1-s32max[c]
USER_DATA 0 ndm->ndm_pad1 0-255
USER_DATA 0 ndm->ndm_pad2 0-u16max
USER_DATA 0 ndm->ndm_state 0-u16max
USER_DATA 0 ndm->ndm_type 0-255
USER_DATA 3 *addr 0-255
USER_PTR 0 ndm
USER_PTR 3 addr
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 &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

net/core/rtnetlink.c rtnl_fdb_del() -> (struct net_device_ops)->ndo_fdb_del()

Type Parameter Key Value
PARAM_VALUE 0 ndm 4096-ptr_max
PARAM_VALUE 0 ndm->ndm_ifindex s32min-(-1),1-s32max
PARAM_VALUE 1 tb 4096-ptr_max
PARAM_VALUE 1 (*tb).nla_len 0
PARAM_VALUE 1 (*tb).nla_type 0
PARAM_VALUE 2 dev 4096-ptr_max
PARAM_VALUE 2 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 2 dev->netdev_ops->ndo_fdb_del 1601512751042326528,2190034336822136832,3914041376362209280,4943624292584730624,6612239752106622976,7096514808514260992
PARAM_VALUE 2 dev->netdev_ops->ndo_fdb_del_bulk 0,3653807925983469568,6417556756298358784
PARAM_VALUE 2 dev->type 1
PARAM_VALUE 4 vid 0-4094
PARAM_VALUE 5 notified 1186891264726278144
PARAM_VALUE 5 *notified 0
PARAM_VALUE 6 extack 4971238048455385088
PARAM_VALUE 6 extack->bad_attr 0
PARAM_VALUE 6 extack->policy 0
BUF_SIZE 1 tb 144
CAPPED_DATA 0 ndm->ndm_ifindex 1
CAPPED_DATA 2 dev->ifindex 1
DATA_SOURCE 0 ndm r nlmsg_data
DATA_SOURCE 2 dev r __dev_get_by_index
DATA_SOURCE 3 addr r nla_data
DATA_SOURCE 6 extack $2
CONTAINER 2 -496-8+0 $(-1)
BIT_INFO 0 ndm->ndm_flags 0x2,0xff
NOSPEC 0 ndm->ndm_ifindex
MEM_ZERO 6 extack
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ndm->ndm_family 0-255
USER_DATA 0 ndm->ndm_flags 0-255
USER_DATA 0 ndm->ndm_ifindex s32min-(-1),1-s32max[c]
USER_DATA 0 ndm->ndm_pad1 0-255
USER_DATA 0 ndm->ndm_pad2 0-u16max
USER_DATA 0 ndm->ndm_state 0-u16max
USER_DATA 0 ndm->ndm_type 0-255
USER_DATA 3 *addr 0-255
USER_PTR 0 ndm
USER_PTR 3 addr
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 &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex