Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 5 files:
- net/ipv4/nexthop.c, line 2185
- net/ipv6/addrconf.c
- net/ipv6/anycast.c
- net/ipv6/ndisc.c, line 1365
- net/ipv6/route.c
Smatch caller information:
net/ipv4/nexthop.c __remove_nexthop_fib() -> ip6_del_rt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rt | 4096-ptr_max |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &net->rtnl_mutex |
net/ipv6/addrconf.c __ipv6_ifa_notify() -> ip6_del_rt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | rt | 4096-ptr_max |
| PARAM_VALUE | 1 | rt->fib6_nh | 4096-ptr_max |
| PARAM_VALUE | 1 | rt->fib6_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | rt->nh | 0 |
| PARAM_VALUE | 2 | skip_notify | 0 |
| CAPPED_DATA | 1 | rt->fib6_nh->nh_common.nhc_dev->ifindex | 1 |
| DATA_SOURCE | 1 | rt | r addrconf_get_prefix_route |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/addrconf.c __ipv6_ifa_notify() -> ip6_del_rt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | rt | 1-u64max |
| PARAM_VALUE | 2 | skip_notify | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | rt->fib6_dst.plen | 128 |
| USER_DATA | 1 | rt->fib6_flags | 0-u32max[c] |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/addrconf.c addrconf_ifdown() -> ip6_del_rt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv6.addrconf_hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | net->ipv6.fib6_walker_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | net->ipv6.fib6_walkers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv6.fib6_walkers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv6.fib6_walkers.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv6.inet6_addr_lst | 4096-ptr_max |
| PARAM_VALUE | 1 | rt | 1-u64max |
| PARAM_VALUE | 2 | skip_notify | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &init_net.rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/addrconf.c cleanup_prefix_route() -> ip6_del_rt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rt | 4096-ptr_max |
| PARAM_VALUE | 1 | rt->fib6_nh | 4096-ptr_max |
| PARAM_VALUE | 1 | rt->fib6_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | rt->nh | 0 |
| PARAM_VALUE | 2 | skip_notify | 0 |
| CAPPED_DATA | 1 | rt->fib6_nh->nh_common.nhc_dev->ifindex | 1 |
| DATA_SOURCE | 1 | rt | r addrconf_get_prefix_route |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/addrconf.c modify_prefix_route() -> ip6_del_rt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rt | 4096-ptr_max |
| PARAM_VALUE | 1 | rt->fib6_nh | 4096-ptr_max |
| PARAM_VALUE | 1 | rt->fib6_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | rt->nh | 0 |
| PARAM_VALUE | 2 | skip_notify | 0 |
| CAPPED_DATA | 1 | rt->fib6_nh->nh_common.nhc_dev->ifindex | 1 |
| DATA_SOURCE | 1 | rt | r addrconf_get_prefix_route |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| 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/ipv6/anycast.c __ipv6_dev_ac_dec() -> ip6_del_rt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | skip_notify | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/ipv6/anycast.c ipv6_ac_destroy_dev() -> ip6_del_rt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | skip_notify | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &init_net.rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/route.c __rt6_purge_dflt_routers() -> ip6_del_rt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->dev_unreg_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | net->ipv6.fib_table_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | net->rtnl_mutex.dep_map->name | 0-255 |
| 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | rt | 4096-ptr_max |
| PARAM_VALUE | 1 | rt->fib6_flags | 65536-u32max |
| PARAM_VALUE | 1 | rt->fib6_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 2 | skip_notify | 0 |
| BUF_SIZE | 0 | net | 1-s32max |
| BUF_SIZE | 0 | net | 1-s32max |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &pool->lock |