Skip to content

IPV4 routing path simplifications

David Miller netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ipv4: Simplify output route creation call sequence.net/ipv4/route.c+23 -350 replies
2/7ipv4: Move rcu_read_{lock,unlock}() into ip_route_output_slow().net/ipv4/route.c+6 -70 replies
3/7ipv4: Consolidate ipv4 dst allocation logic.net/ipv4/route.c+21 -310 replies
4/7net: Add initial_ref arg to dst_alloc().include/net/dst.h net/core/dst.c net/decnet/dn_route.c +3 more+10 -140 replies
5/7ipv4: Avoid use of signed integers in fib_trie code.net/ipv4/fib_trie.c+5 -50 replies
6/7ipv4: Mark fib_combine_itag()'s 'res' arg as const.include/net/ip_fib.h+1 -10 replies
7/7ipv4: Use const'ify fib_result deep in the route call chains.include/net/ip_fib.h net/ipv4/fib_rules.c net/ipv4/route.c+19 -170 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/7] IPV4 routing path simplifications

These cleanups and simplifications are based upon work I have been doing over the past day analyzing why slow path route resolution has so much overhead.

They are close to trivial and certainly not controversial so I've added them to net-next-2.6

I know a new spin of the routing cache deletion patch is necessary so that it applies cleanly relative to this stuff, and I'll post that in a little bit.

Thanks.