]> git.karo-electronics.de Git - linux-beck.git/commit
ipvs: remove extra lookups for ICMP packets
authorJulian Anastasov <ja@ssi.bg>
Wed, 9 Feb 2011 00:26:38 +0000 (02:26 +0200)
committerSimon Horman <horms@verge.net.au>
Tue, 15 Feb 2011 22:00:33 +0000 (07:00 +0900)
commit6cb90db502c5f276c8d6256762cc3acde4d3bd9d
tree87ebaf22cd6006bbb15b071b1f4363117237a6e7
parent16a7fd323f93eab88df79fc647575ae9789037c2
ipvs: remove extra lookups for ICMP packets

  Remove code that should not be called anymore.
Now when ip_vs_out handles replies for local clients at
LOCAL_IN hook we do not need to call conn_out_get and
handle_response_icmp from ip_vs_in_icmp* because such
lookups were already performed for the ICMP packet and no
connection was found.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_core.c