Defined in 1 files as a function:

Referenced in 27 files:

Smatch caller information:

drivers/net/gtp.c gtp_build_skb_outer_ip4() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags

drivers/net/gtp.c gtp_build_skb_outer_ip4() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags

drivers/net/gtp.c gtp_build_skb_outer_ip6() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags

net/l2tp/l2tp_eth.c l2tp_tunnel_dst_mtu() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
DATA_SOURCE 0 dst r sk_dst_get
RX_PATH
TASK_NOT_RUNNING
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 ip6erspan_tunnel_xmit() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
DATA_SOURCE 0 dst r skb_dst
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/scsi/cxgbi/cxgb4i/cxgb4i.c init_act_open() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->ops 4096-ptr_max
PARAM_VALUE 0 dst->ops->neigh_lookup 4096-ptr_max
PARAM_VALUE 0 dst->xfrm 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rx_queue_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 rcu_read

net/sctp/transport.c sctp_dst_mtu() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 1-u64max
DATA_SOURCE 0 dst $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/net/ppp/pptp.c pptp_connect() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 0-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk

net/netfilter/ipvs/ip_vs_core.c ip_vs_in_icmp() -> dst_mtu()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/ipv6/xfrm6_output.c __xfrm6_output() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 0,2-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/ipv6/xfrm6_output.c ip6_skb_dst_mtu() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 0,2-u64max
DATA_SOURCE 0 dst r skb_dst
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/netfilter/ipvs/ip_vs_xmit.c __ip_vs_get_out_rt() -> dst_mtu()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

net/netfilter/ipvs/ip_vs_xmit.c __ip_vs_get_out_rt() -> dst_mtu()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

net/netfilter/ipvs/ip_vs_xmit.c __ip_vs_get_out_rt_v6() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst->dev 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

net/netfilter/ipvs/ip_vs_xmit.c __ip_vs_get_out_rt_v6() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst->dev 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

net/rxrpc/peer_object.c rxrpc_assess_MTU_size() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 0-ptr_max
PARAM_VALUE 0 dst->error 0
BUF_SIZE 0 dst (-1)-0,144,152
BUF_SIZE 0 dst (-1)-0,144,152
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/cxgb4/cm.c import_ep() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->error 0
PARAM_VALUE 0 dst->ops 4096-ptr_max
PARAM_VALUE 0 dst->ops->neigh_lookup 4096-ptr_max
PARAM_VALUE 0 dst->xfrm 0
BUF_SIZE 0 dst (-1)-0,144,152
BUF_SIZE 0 dst (-1)-0,144,152
DATA_SOURCE 0 dst $3
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

net/ipv4/ip_tunnel_core.c skb_tunnel_check_pmtu() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 1-ptr_max
BUF_SIZE 0 dst (-1)-0,144,152
BUF_SIZE 0 dst (-1)-0,144,152
DATA_SOURCE 0 dst $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh
HALF_LOCKED2 flags

net/ipv6/ip6_vti.c vti6_xmit() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.quarantine.prev->next 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.quarantine.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dst->ops->pcpuc_entries.lock.dep_map->name 0-255
PARAM_VALUE 0 dst->ops->pcpuc_entries.lock.owner (-1)
PARAM_VALUE 0 dst->ops->pcpuc_entries.lock.owner_cpu u32max
PARAM_VALUE 0 dst->xfrm 4096-ptr_max
PARAM_VALUE 0 dst->xfrm->props.family 10
PARAM_VALUE 0 dst->xfrm->props.mode 1
BUF_SIZE 0 dst (-1)-s32max
BUF_SIZE 0 dst (-1)-s32max
CAPPED_DATA 0 dst 1
DATA_SOURCE 0 dst r xfrm_lookup_route
BIT_INFO 0 dst->flags 0x0,0xffbf
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

net/xfrm/xfrm_output.c ip6_skb_dst_mtu() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 0,2-u64max
DATA_SOURCE 0 dst r skb_dst
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

net/xfrm/xfrm_output.c xfrm4_tunnel_check_size() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 0,2-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

net/xfrm/xfrm_output.c xfrm6_tunnel_check_size() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 0,2-u64max
DATA_SOURCE 0 dst r skb_dst
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

net/xfrm/xfrm_interface_core.c xfrmi_xmit2() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.quarantine.prev->next 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.quarantine.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dst->dst_trace_seq.counter s32min-s32max
PARAM_VALUE 0 dst->ops 4096-ptr_max
PARAM_VALUE 0 dst->ops->pcpuc_entries.lock.dep_map->name 0-255
PARAM_VALUE 0 dst->xfrm 4096-ptr_max
BUF_SIZE 0 dst (-1)-0,144,152
BUF_SIZE 0 dst (-1)-0,144,152
CAPPED_DATA 0 dst 1
DATA_SOURCE 0 dst r xfrm_lookup_with_ifid
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

net/sctp/output.c sctp_dst_mtu() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 0,4096-ptr_max
PARAM_VALUE 0 dst->obsolete 0
DATA_SOURCE 0 dst $0
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/cxgbi/cxgb3i/cxgb3i.c init_act_open() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->ops 4096-ptr_max
PARAM_VALUE 0 dst->ops->neigh_lookup 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rx_queue_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 rcu_read

drivers/net/wireguard/device.c wg_xmit() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 0,2-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

net/ipv4/ip_tunnel.c tnl_update_pmtu() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

net/ipv4/ip_tunnel.c tnl_update_pmtu() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 0,2-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

net/ipv4/ip_tunnel.c tnl_update_pmtu() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 0,2-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

net/l2tp/l2tp_ppp.c l2tp_tunnel_dst_mtu() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
DATA_SOURCE 0 dst r sk_dst_get
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ps->sk_lock
LOCK2 sk
TYPE_LOCK (struct pppol2tp_session)->sk_lock

drivers/net/ethernet/broadcom/cnic.c cnic_get_route() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->dev 4096-ptr_max
PARAM_VALUE 0 dst->error s16min-s16max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hba->net_dev_lock
LOCK2 global &rx_queue_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct bnx2i_hba)->net_dev_lock

net/ipv4/ip_vti.c vti_xmit() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.quarantine.prev->next 4096-ptr_max
PARAM_VALUE 0 dst->dev->refcnt_tracker.quarantine.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dst->ops->pcpuc_entries.lock.dep_map->name 0-255
PARAM_VALUE 0 dst->ops->pcpuc_entries.lock.owner (-1)
PARAM_VALUE 0 dst->ops->pcpuc_entries.lock.owner_cpu u32max
PARAM_VALUE 0 dst->xfrm 4096-ptr_max
PARAM_VALUE 0 dst->xfrm->props.family 2
PARAM_VALUE 0 dst->xfrm->props.mode 1
BUF_SIZE 0 dst (-1)-s32max
BUF_SIZE 0 dst (-1)-s32max
CAPPED_DATA 0 dst 1
DATA_SOURCE 0 dst r xfrm_lookup_route
BIT_INFO 0 dst->flags 0x0,0xffbf
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

net/ipv6/ip6_output.c ip6_skb_dst_mtu() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 0,2-u64max
DATA_SOURCE 0 dst r skb_dst
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

net/netfilter/xt_TCPMSS.c tcpmss_mangle_packet() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 0,2-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &table->lock
HALF_LOCKED2 bh

net/netfilter/xt_TCPMSS.c tcpmss_reverse_mtu() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 1-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &table->lock
HALF_LOCKED2 bh

net/netfilter/nf_flow_table_ip.c nf_flow_tunnel_ip6ip6_push() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/xfrm/xfrm_policy.c xfrm_bundle_ok() -> dst_mtu()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 rcu_read

net/xfrm/xfrm_policy.c xfrm_bundle_ok() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->obsolete 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 rcu_read

net/xfrm/xfrm_policy.c xfrm_init_pmtu() -> dst_mtu()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh

net/xfrm/xfrm_policy.c xfrm_init_pmtu() -> dst_mtu()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh

net/xfrm/xfrm_policy.c xfrm_mtu() -> dst_mtu()

Type Parameter Key Value
BUF_SIZE 0 dst (-1)-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hba->net_dev_lock
HALF_LOCKED2 &ps->sk_lock
HALF_LOCKED2 bh
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
HALF_LOCKED2 sk

drivers/target/iscsi/cxgbit/cxgbit_cm.c cxgbit_offload_init() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->error 0
PARAM_VALUE 0 dst->ops 4096-ptr_max
PARAM_VALUE 0 dst->ops->neigh_lookup 4096-ptr_max
PARAM_VALUE 0 dst->xfrm 0
BUF_SIZE 0 dst (-1)-0,144,152
BUF_SIZE 0 dst (-1)-0,144,152
DATA_SOURCE 0 dst $4
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh

net/netfilter/nft_rt.c get_tcpmss() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 0,2-u64max
DATA_SOURCE 0 dst $1

net/netfilter/nft_rt.c get_tcpmss() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 1-ptr_max
PARAM_VALUE 0 dst->error 0

net/ipv4/tcp_output.c tcp_connect_init() -> dst_mtu()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 sk
HALF_LOCKED2 sk

net/ipv4/tcp_output.c tcp_current_mss() -> dst_mtu()

Type Parameter Key Value
PARAM_VALUE 0 dst 1-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sk->sk_lock.slock