Defined in 1 files as a function:
Referenced in 29 files:
- drivers/infiniband/core/device.c
- drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c, line 345
- drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c, line 132
- drivers/net/ipvlan/ipvlan_main.c
- include/linux/netdevice.h, line 2813
- include/net/cfg80211.h, line 6708
- include/net/cfg802154.h, line 262
- include/net/genetlink.h, line 153
- include/net/inet_timewait_sock.h, line 137
- include/net/sock.h, line 719
- net/ceph/messenger.c, line 1695
- net/core/neighbour.c
- net/devlink/core.c, line 481
- net/devlink/dev.c, line 425
- net/ipv4/inet_connection_sock.c, line 897
- net/ipv4/inet_hashtables.c
- net/ipv4/ipmr_base.c, line 59
- net/netfilter/nf_conntrack_broadcast.c, line 80
- net/netfilter/nf_conntrack_core.c
- net/netfilter/nf_conntrack_expect.c, line 356
- net/netfilter/nf_conntrack_netlink.c, line 3568
- net/netfilter/nf_tables_api.c
- net/netlink/af_netlink.c, line 489
- net/openvswitch/datapath.h, line 264
- net/packet/af_packet.c, line 1773
- net/rds/rds.h, line 186
- net/sched/act_ct.c, line 355
- net/xfrm/xfrm_policy.c
- net/xfrm/xfrm_state.c, line 738
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c mlx5_lag_dev_alloc() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1),10432,10496 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->intf_state_mutex | ||
| LOCK2 | &dev->priv.hca_devcom_comp->comp->sem | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct mlx5_core_dev)->intf_state_mutex |
net/ipv4/tcp_ipv4.c sock_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/ipmr_base.c mr_table_alloc() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| 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 |
| DATA_SOURCE | 1 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/virtual/mac80211_hwsim_main.c wiphy_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1),10624 |
| BUF_SIZE | 1 | net | (-1),10624 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
drivers/net/wireless/marvell/mwifiex/cfg80211.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | &wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |
net/bridge/br_if.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| NS_CAPABLE | 0 | 12 | |
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | global &br_ioctl_mutex | ||
| LOCK2 | global &rtnl_mutex |
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
net/xfrm/xfrm_state.c xfrm_state_alloc() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 1-u64max |
| BUF_SIZE | 1 | net | (-1),1-s32max |
| BUF_SIZE | 1 | net | (-1),1-s32max |
| DATA_SOURCE | 1 | net | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 1 | &net->xfrm.xfrm_state_lock |
net/xfrm/xfrm_nat_keepalive.c sock_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | &net->xfrm.xfrm_state_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &pfk->dump_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct netns_xfrm)->xfrm_state_lock |
net/sched/act_ct.c tcf_ct_flow_table_get() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| CAPPED_DATA | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &zones_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 &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/ipv6/ip6_tunnel.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1)-s32max |
| BUF_SIZE | 1 | net | (-1)-s32max |
| BUF_SIZE | 1 | net->key_domain | (-1),24 |
| BUF_SIZE | 1 | net->ucounts | (-1),184 |
| CAPPED_DATA | 1 | net | 1 |
| CAPPED_DATA | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/packet/af_packet.c fanout_add() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 1-18446744073709551614 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &fanout_mutex |
drivers/net/ethernet/mellanox/mlxsw/minimal.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1),10432,10496 |
| BUF_SIZE | 1 | net | (-1),10432,10496 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c mlx5_devcom_comp_alloc() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1),10432 |
| BUF_SIZE | 1 | net | (-1),10432 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &comp_list_lock | ||
| HALF_LOCKED2 | &dev->intf_state_mutex | ||
| HALF_LOCKED2 | &esw->offloads.reps_lock | ||
| HALF_LOCKED2 | &mdev->intf_state_mutex |
net/l2tp/l2tp_eth.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| CAPPED_DATA | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ipv6/ip6_gre.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1)-s32max |
| BUF_SIZE | 1 | net | (-1)-s32max |
| BUF_SIZE | 1 | net->key_domain | (-1),24 |
| BUF_SIZE | 1 | net->ucounts | (-1),184 |
| CAPPED_DATA | 1 | net | 1 |
| CAPPED_DATA | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/netfilter/nf_conntrack_netlink.c ctnetlink_alloc_expect() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/devlink/core.c __devlink_alloc() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1),10432 |
| BUF_SIZE | 1 | net | (-1),10432 |
| DATA_SOURCE | 1 | net | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &shd_mutex |
drivers/net/ppp/ppp_generic.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| NS_CAPABLE | 0 | 12 | |
| NOCHECK_CALL | |||
| LOCK2 | global &ppp_mutex |
net/core/neighbour.c neigh_parms_alloc() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
net/core/neighbour.c neigh_table_init() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 272374513716818008,4470746977272516696 |
| PARAM_VALUE | 1 | net | 1824583183996030976 |
| NOCHECK_CALL |
net/core/neighbour.c pneigh_create() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | &tbl->phash_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 1 | &net->rtnl_mutex | |
| TYPE_LOCK | (struct neigh_table)->phash_lock |
lib/test_bpf.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 7698739464221229328 |
| PARAM_VALUE | 1 | net | 1824583183996030976 |
| DATA_SOURCE | 1 | net | $1 |
| NOCHECK_CALL |
drivers/net/mctp/mctp-i2c.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &driver_clients_lock |
net/ipv6/sit.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1)-s32max |
| BUF_SIZE | 1 | net | (-1)-s32max |
| BUF_SIZE | 1 | net->key_domain | (-1),24 |
| BUF_SIZE | 1 | net->ucounts | (-1),184 |
| CAPPED_DATA | 1 | net | 1 |
| CAPPED_DATA | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | global &pernet_ops_rwsem |
net/ceph/messenger.c ceph_messenger_init() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &client_mutex |
drivers/infiniband/ulp/ipoib/ipoib_main.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hca->client_data_rwsem | ||
| LOCK2 | global &clients_rwsem | ||
| LOCK2 | global &devices_rwsem | ||
| HALF_LOCKED2 | &hca->unregistration_lock | ||
| TYPE_LOCK | (struct ib_device)->client_data_rwsem |
drivers/infiniband/core/device.c rdma_dev_change_netns() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 1824583183996030976 |
| DATA_SOURCE | 1 | net | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->unregistration_lock | ||
| LOCK2 | global &devices_rwsem | ||
| LOCK2 | global &pernet_ops_rwsem | ||
| TYPE_LOCK | (struct ib_device)->unregistration_lock |
drivers/infiniband/core/device.c rdma_dev_change_netns() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| CAPPED_DATA | 1 | net | 1 |
| DATA_SOURCE | 1 | net | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->unregistration_lock | ||
| LOCK2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| TYPE_LOCK | (struct ib_device)->unregistration_lock |
drivers/infiniband/core/device.c rdma_dev_change_netns() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 0 | pnet->net | 4096-ptr_max |
| CAPPED_DATA | 1 | net | 1 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->unregistration_lock | ||
| LOCK2 | global &devices_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct ib_device)->unregistration_lock |
drivers/infiniband/core/device.c rdma_dev_init_net() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| BUF_SIZE | 1 | net->key_domain | (-1),24 |
| BUF_SIZE | 1 | net->ucounts | (-1),184 |
| CAPPED_DATA | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem |
drivers/infiniband/core/device.c rdma_init_coredev() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1),10624 |
| BUF_SIZE | 1 | net | (-1),10624 |
| DATA_SOURCE | 1 | net | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->compat_devs_mutex | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &rdma_nets_rwsem |
net/ipv6/ip6_vti.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1)-s32max |
| BUF_SIZE | 1 | net | (-1)-s32max |
| BUF_SIZE | 1 | net->key_domain | (-1),24 |
| BUF_SIZE | 1 | net->ucounts | (-1),184 |
| CAPPED_DATA | 1 | net | 1 |
| CAPPED_DATA | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/mptcp/token_test.c sock_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 48,64,4096-ptr_max |
| PARAM_VALUE | 1 | net | 1824583183996030976 |
| DATA_SOURCE | 1 | net | $1 |
| NOCHECK_CALL |
net/ipv6/ip6mr.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | global &rtnl_mutex |
net/mac80211/iface.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct wiphy)->mtx |
net/wireless/core.c wiphy_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| CAPPED_DATA | 1 | net | 1 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
net/netfilter/nf_conntrack_expect.c nf_ct_expect_init() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &irc_buffer_lock | ||
| HALF_LOCKED2 | global &nf_ftp_lock | ||
| HALF_LOCKED2 | global &nf_h323_lock | ||
| HALF_LOCKED2 | global &nf_pptp_lock |
net/openvswitch/datapath.c ovs_dp_set_net() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/loopback.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1)-s32max |
| BUF_SIZE | 1 | net | (-1)-s32max |
| BUF_SIZE | 1 | net->key_domain | (-1),24 |
| BUF_SIZE | 1 | net->ucounts | (-1),184 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem |
net/ipv4/inet_connection_sock.c inet_reqsk_alloc() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/ip_tunnel.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| 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 | 1 | net | 1 |
| CAPPED_DATA | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $1 |
| STR_LEN | 0 | pnet | (-1),5,7 |
| STR_LEN | 1 | net | (-1),5,7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/bonding/bond_main.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex |
net/ipv4/inet_hashtables.c inet_bind2_bucket_init() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 1-u64max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| CAPPED_DATA | 1 | net | 1 |
| DATA_SOURCE | 1 | net | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | &head->lock | ||
| HALF_LOCKED2 | &head->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | sk |
net/ipv4/inet_hashtables.c inet_bind_bucket_create() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 1-u64max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| CAPPED_DATA | 1 | net | 1 |
| DATA_SOURCE | 1 | net | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | &head->lock | ||
| HALF_LOCKED2 | &head2->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | sk |
net/core/sock.c sock_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| 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 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | net->ipv6.igmp_sk->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 1 | net->ipv6.igmp_sk->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 1 | net->ipv6.igmp_sk->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 1 | net->ipv6.igmp_sk->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 1 | net->ipv6.igmp_sk->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 1 | net->ipv6.igmp_sk->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 1 | net->ipv6.igmp_sk->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 1 | net->ipv6.igmp_sk->sk_write_queue.next->truesize | |
| NO_OVERFLOW_SIMPLE | 1 | net->sctp.ctl_sock->sk_receive_queue.prev->next->tail | |
| NO_OVERFLOW_SIMPLE | 1 | net->sctp.ctl_sock->sk_receive_queue.prev->next->truesize | |
| NO_OVERFLOW_SIMPLE | 1 | net->sctp.ctl_sock->sk_receive_queue.prev->tail | |
| NO_OVERFLOW_SIMPLE | 1 | net->sctp.ctl_sock->sk_receive_queue.prev->truesize | |
| NO_OVERFLOW_SIMPLE | 1 | net->sctp.ctl_sock->sk_write_queue.next->prev->tail | |
| NO_OVERFLOW_SIMPLE | 1 | net->sctp.ctl_sock->sk_write_queue.next->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 1 | net->sctp.ctl_sock->sk_write_queue.next->tail | |
| NO_OVERFLOW_SIMPLE | 1 | net->sctp.ctl_sock->sk_write_queue.next->truesize | |
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | global &proto_tab_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | sk |
net/psp/psp_nl.c genl_info_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 7343233243995205672 |
| PARAM_VALUE | 0 | pnet->net | 0 |
| CAPPED_DATA | 1 | net | 1 |
| DATA_SOURCE | 1 | net | $1 |
| MEM_ZERO | 0 | pnet | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | &psd->lock |
net/mac802154/iface.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/nxp/nxpwifi/cfg80211.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 0 | pnet->net | 1824583183996030976 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/netfilter/nf_tables_api.c nf_tables_newflowtable() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| CAPPED_DATA | 1 | net->gen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nf_tables_newset() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| CAPPED_DATA | 1 | net->gen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mellanox/mlx5/core/en_main.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1),10432,10496 |
| BUF_SIZE | 1 | net | (-1),10432,10496 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &esw->offloads.reps_lock |
drivers/net/ipvlan/ipvlan_main.c ipvlan_device_event() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | &port->pnodes_lock | ||
| TYPE_LOCK | (struct ipvl_port)->pnodes_lock |
drivers/net/ipvlan/ipvlan_main.c ipvlan_port_create() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->lock | ||
| TYPE_LOCK | (struct net_device)->lock |
net/ipv4/icmp.c sock_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | bh | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | rcu_read |
net/devlink/dev.c devlink_reload_netns_change() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| CAPPED_DATA | 1 | net | 1 |
| DATA_SOURCE | 1 | net | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bp->dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/mellanox/mlxsw/spectrum.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1),10432 |
| BUF_SIZE | 1 | net | (-1),10432 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/tun.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| NS_CAPABLE | 0 | 12 | |
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | global &rtnl_mutex |
net/netlink/genetlink.c genl_info_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/net/net_failover.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wireless/quantenna/qtnfmac/core.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/inet_timewait_sock.c twsk_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | sk |
drivers/net/netdevsim/netdev.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1),10432,10496 |
| BUF_SIZE | 1 | net | (-1),10432,10496 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
net/xfrm/xfrm_policy.c xfrm_policy_alloc() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/xfrm/xfrm_policy.c xfrm_policy_inexact_alloc_bin() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 5316132188491517952 |
| PARAM_VALUE | 0 | pnet->net | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | &net->xfrm.xfrm_policy_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | global &hash_resize_mutex | ||
| TYPE_LOCK | (struct netns_xfrm)->xfrm_policy_lock |
net/xfrm/xfrm_policy.c xfrm_policy_inexact_lookup_rcu() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 3535650493324881920 |
| PARAM_VALUE | 0 | pnet->net | 0 |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1),1-s32max |
| BUF_SIZE | 1 | net | (-1),1-s32max |
| DATA_SOURCE | 1 | net | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 1 | &net->ipv4.mfc_mutex | |
| HALF_LOCKED2 | 1 | &net->ipv6.mfc_mutex | |
| HALF_LOCKED2 | 1 | &net->xfrm.xfrm_policy_lock |
net/core/dev.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1),10304,10432 |
| BUF_SIZE | 1 | net | (-1),10304,10432 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | &dev->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net_device)->lock |
net/ieee802154/core.c wpan_phy_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 1-ptr_max |
| CAPPED_DATA | 1 | net | 1 |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/8021q/vlan.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| CAPPED_DATA | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $1 |
| NS_CAPABLE | 0 | 12 | |
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | global &vlan_ioctl_mutex |
drivers/net/usb/qmi_wwan.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/netfilter/nf_conntrack_broadcast.c nf_conntrack_broadcast_help() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
net/ipv4/ipmr.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | global &rtnl_mutex |
net/core/rtnetlink.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1),10304,10432 |
| BUF_SIZE | 1 | net | (-1),10304,10432 |
| DATA_SOURCE | 1 | net | $1 |
| STR_LEN | 0 | pnet | (-1),6,15 |
| STR_LEN | 1 | net | (-1),6,15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex |
net/netfilter/nf_conntrack_core.c __nf_conntrack_alloc() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| CAPPED_DATA | 1 | net | 1 |
| CAPPED_DATA | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
net/netfilter/nf_conntrack_core.c nf_ct_tmpl_alloc() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1)-s32max |
| BUF_SIZE | 1 | net | (-1)-s32max |
| BUF_SIZE | 1 | net->key_domain | (-1),24 |
| BUF_SIZE | 1 | net->ucounts | (-1),184 |
| DATA_SOURCE | 1 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | global &nft_ct_pcpu_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem |
net/ipv6/icmp.c sock_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| LOCK2 | bh | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | rcu_read |
net/openvswitch/vport-internal_dev.c dev_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &ovs_mutex | ||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netlink/af_netlink.c netlink_compare_arg_init() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 2766491574985416704,7268353513435611136,7975830249588740096 |
| DATA_SOURCE | 1 | net | $1 |
| MEM_ZERO | 0 | pnet | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | sk |
net/rds/connection.c rds_conn_net_set() -> write_pnet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pnet | 4096-ptr_max |
| DATA_SOURCE | 1 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |