]> git.baikalelectronics.ru Git - kernel.git/commit
ipvs: avoid lookup for fwmark 0
authorJulian Anastasov <ja@ssi.bg>
Fri, 4 Mar 2011 10:26:17 +0000 (12:26 +0200)
committerSimon Horman <horms@verge.net.au>
Tue, 15 Mar 2011 00:36:48 +0000 (09:36 +0900)
commit06b46e96193960848db3408e32dbea7b280d3f9e
treec05757a8ba465985f27a68328e8dc0b62bff54fd
parenta3453d700150b86ac60146a7f360a9787e2ebbd2
ipvs: avoid lookup for fwmark 0

  Restore the previous behaviour to lookup for fwmark
service only when fwmark is non-null. This saves only CPU.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_ctl.c