Skip to content

: Routing namespacing on IP output path.

Denis V. Lunev containers netdev 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/12: Declarations cleanup in ip_fib.h.include/net/ip_fib.h+1 -30 replies
2/12: Consolidate fib_select_default.include/net/ip_fib.h net/ipv4/fib_frontend.c net/ipv4/fib_rules.c+15 -190 replies
3/12: Add netns parameter to fib_select_default.include/net/ip_fib.h net/ipv4/fib_frontend.c net/ipv4/route.c+6 -40 replies
4/12: Add namespace parameter to ip_dev_find.drivers/infiniband/core/addr.c drivers/infiniband/core/cma.c include/linux/inetdevice.h +5 more+12 -120 replies
5/12: Re-export init_net via EXPORT_SYMBOL.net/core/net_namespace.c+1 -13 replies
6/12: Add namespace parameter to ip_route_output_slow.net/ipv4/route.c+11 -100 replies
7/12: Add namespace parameter to __ip_route_output_key.include/net/route.h net/ipv4/icmp.c net/ipv4/route.c +1 more+9 -80 replies
8/12: Add namespace parameter to ip_route_output_flow.drivers/infiniband/hw/cxgb3/iwch_cm.c include/net/route.h net/dccp/ipv4.c +6 more+14 -130 replies
9/12: Add namespace parameter to ip_route_output_key.drivers/infiniband/core/addr.c drivers/net/bonding/bond_main.c include/net/route.h +18 more+44 -440 replies
10/12: Correct namespace for connect-time routing.include/net/route.h+5 -31 reply
11/12: Routing cache virtualization.include/net/route.h net/ipv4/icmp.c net/ipv4/route.c+18 -71 reply
12/12: Add namespace for ICMP replying code.net/ipv4/icmp.c net/ipv4/ip_output.c+14 -93 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/12 net-2.6.25] [NETNS]: Routing namespacing on IP output path.

This set introduces namespacing in the IP output path. The namespace is added to all routing API functions except ones with a valid socket. This is very intrusive.

Routing cache is virtualized as a part of this efforts, though the hash function is not tuned to use namespace id. This not required to work in initial namespace.

ICMP replies now also use correct namespace.