Skip to content

Another batch of rt->rt_{src,dst} removals

David Miller netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10ipv4: Pass explicit daddr arg to ip_send_reply().include/net/ip.h net/ipv4/ip_output.c net/ipv4/tcp_ipv4.c+7 -80 replies
2/10ipv4: icmp: Eliminate remaining uses of rt->rt_srcnet/ipv4/icmp.c+3 -30 replies
3/10ipv4: udp: Eliminate remaining uses of rt->rt_srcnet/ipv4/udp.c+6 -70 replies
4/10ipvs: Use IP_VS_RT_MODE_* instead of magic constants.net/netfilter/ipvs/ip_vs_xmit.c+12 -57 replies
5/10ipvs: Eliminate rt->rt_dst usage in __ip_vs_get_out_rt().net/netfilter/ipvs/ip_vs_xmit.c+4 -30 replies
6/10ipvs: Store a flow key in ip_vs_conn and use it in route lookups.include/net/ip_vs.h net/netfilter/ipvs/ip_vs_xmit.c+18 -80 replies
7/10ipvs: Remove all remaining references to rt->rt_{src,dst}net/netfilter/ipvs/ip_vs_core.c net/netfilter/ipvs/ip_vs_xmit.c+14 -52 replies
8/10sctp: Remove rt->rt_src usage in sctp_v4_get_saddr()net/sctp/protocol.c+1 -10 replies
9/10infiniband: Remove rt->rt_src usage in addr4_resolve()drivers/infiniband/core/addr.c+7 -20 replies
10/10ipv4: xfrm: Eliminate ->rt_src reference in policy code.net/ipv4/xfrm4_policy.c+21 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/10] Another batch of rt->rt_{src,dst} removals

After this series there are very nearly no references remaining outside of net/ipv4/route.c

They all come in the usual pattern, making sure the flow key can be materialized at the site where rt->rt_{src,dst} is needed.