More rt->rt_{src,dst} removals.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ipv4: Use flowi4->{daddr,saddr} in ipip_tunnel_xmit().net/ | +2 | 0 replies | |
| 2/5 | ipv4: In ip_build_and_send_pkt() use 'saddr' and 'daddr' args passed in.net/ | +2 | 0 replies | |
| 3/5 | ipv4: Pass explicit saddr/daddr args to ipmr_get_route().include/ net/ net/ | +12 | 0 replies | |
| 4/5 | ipv4: Kill rt->rt_{src, dst} usage in IP GRE tunnels.include/ net/ | +30 | 0 replies | |
| 5/5 | ipv6: Use flowi4->{daddr,saddr} in ipip6_tunnel_xmit().net/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] More rt->rt_{src,dst} removals.
After this set the number of uses of rt->rt_{src,dst} are very small.
One case to hit still will need a slight rearrangement of how we do SRR handling, since SRR handling on input pops the nexthop and thus creates situations where iph->daddr != rt->rt_dst and thus eliminates the posibility of converting the rt->rt_dst access in ip_forward().
Another class of remaining cases occur in situations where we can fetch the saddr/daddr from the inet socket.
Soon, all that will be left are the assignments and netlink dump code cases in net/ipv4/route.c