[NETFILTER]: add type parameter to ip_route_me_harder
authorSimon Horman <horms@verge.net.au>
Mon, 2 Oct 2006 23:11:13 +0000 (16:11 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 4 Oct 2006 07:30:54 +0000 (00:30 -0700)
commitb4c4ed175ff0ee816df48571cfa9b73f521964b6
tree11e077983cb640f93c54edf25ce1f1a1a6040562
parentf1da70632fa0875f80fc60991a010c31f40983ff
[NETFILTER]: add type parameter to ip_route_me_harder

By adding a type parameter to ip_route_me_harder() the
expensive call to inet_addr_type() can be avoided in some cases.
A followup patch where ip_route_me_harder() is called from within
ip_vs_out() is one such example.

Signed-off-By: Simon Horman <horms@verge.net.au>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter_ipv4.h
net/ipv4/netfilter.c
net/ipv4/netfilter/ip_nat_standalone.c
net/ipv4/netfilter/iptable_mangle.c