Skip to content

Add addr_type to ip_route_me_harder()

Horms netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3add type parameter to ip_route_me_harderinclude/linux/netfilter_ipv4.h net/ipv4/netfilter.c net/ipv4/netfilter/ip_nat_standalone.c +1 more+17 -64 replies
1/3add type parameter to ip_route_me_harderinclude/linux/netfilter_ipv4.h net/ipv4/netfilter.c net/ipv4/netfilter/ip_nat_standalone.c +1 more+11 -60 replies
2/3Honour source routing for LVS-NATnet/ipv4/ipvs/ip_vs_core.c+10 -00 replies
2/3Honour source routing for LVS-NATnet/ipv4/ipvs/ip_vs_core.c+10 -02 replies
3/3Replace reverse_route() with a call to ip_route_me_harder()net/ipv4/netfilter/ipt_REJECT.c+15 -531 reply
3/3Replace reverse_route() with a call to ip_route_me_harder()net/ipv4/netfilter/ipt_REJECT.c+19 -641 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [patch 0/3] Add addr_type to ip_route_me_harder()

Hi,

this is the latest incarntation of patches to

1. Allow the address type to be passed to ip_route_me_harder(), which allows it to be called from locations where this is know, but calling ip_route_me_harder() was previously too expensive.

2. Make use of ip_route_me_harder() to honour source routing in IPVS

3. Remove ipt_REJECT's reverse_route(), which is largely a duplication of ip_route_me_harder().

IMHO, the first 2 patches are in reasonable shape, but 3rd needs review.

Signature · 3 lines
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/