More genericization of struct rtable
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | ipv4: Rework ipmr_rt_fib_lookup() flow key initialization.net/ | +9 | 0 replies | |
| 2/8 | ipv4: Renamt struct rtable's rt_tos to rt_key_tos.include/ net/ net/ | +14 | 0 replies | |
| 3/8 | dccp: Use flowi4->saddr in dccp_v4_connect()net/ | +1 | 0 replies | |
| 4/8 | ipv4: Make caller provide on-stack flow key to ip_route_output_ports().drivers/ drivers/ drivers/ +11 more | +48 | 0 replies | |
| 5/8 | pptp: Use flowi4's daddr/saddr in pptp_xmit().drivers/ | +2 | 0 replies | |
| 6/8 | libcxgbi: Use flowi4's saddr in cxgbi_check_route().drivers/ | +6 | 0 replies | |
| 7/8 | ipv4: Use flowi4's {saddr,daddr} in igmpv3_newpack() and igmp_send_report()net/ | +3 | 0 replies | |
| 8/8 | sctp: Use flowi4's {saddr,daddr} in sctp_v4_dst_saddr() and sctp_v4_get_dst()net/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] More genericization of struct rtable
This patch set does more work to minimize or completely eliminate various fields of struct rtable, with the goal of making the structure as generic and non-specific as possible.
First we reduce rt->rt_tos such that it is only used as a key for routing cache lookups, and rename it rt->rt_key_tos to reflect this fact.
Next some output route lookup interface tweaks leading to the removal of several rt->rt_{dst,src} accesses, replacing those with flowi4->{daddr,saddr}
More to come.