Defined in 1 files as a function:
Referenced in 4 files:
- include/net/ip.h, line 518
- net/ipv4/ip_forward.c, line 134
- net/ipv4/route.c, line 1375
- net/netfilter/nf_flow_table_core.c, line 107
Smatch caller information:
net/ipv4/ip_forward.c ip_forward() -> ip_dst_mtu_maybe_forward()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | forwarding | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_flow_table_core.c flow_offload_fill_route() -> ip_dst_mtu_maybe_forward()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | forwarding | 1 |
| DATA_SOURCE | 0 | dst | r nft_route_dst_fetch |
net/xfrm/xfrm_output.c ip_skb_dst_mtu() -> ip_dst_mtu_maybe_forward()
| 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/bridge/br_netfilter_hooks.c ip_skb_dst_mtu() -> ip_dst_mtu_maybe_forward()
| 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 | &net->ipv4.mfc_mutex | ||
| HALF_LOCKED2 | &net->ipv6.mfc_mutex | ||
| HALF_LOCKED2 | &sk->sk_callback_lock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | sk |
net/ipv4/route.c ipv4_mtu() -> ip_dst_mtu_maybe_forward()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst->dev_rcu->ndisc_ops->parse_options | 4096-ptr_max |
| PARAM_VALUE | 1 | forwarding | 0 |
| BUF_SIZE | 0 | dst | (-1)-s32max |
| BUF_SIZE | 0 | dst | (-1)-s32max |
| DATA_SOURCE | 0 | dst | $0 |
| PREEMPT_ADD | |||
| 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 |
net/ipv4/ip_output.c ip_skb_dst_mtu() -> ip_dst_mtu_maybe_forward()
| 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 | |||
| HALF_LOCKED2 | &sk->sk_callback_lock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | sk |